Sobes.tech

Frontend

// [telefons] function getMoney(amount) { // Tavs kods šeit } console.log(getMoney(4650));

165

Kad tu pats izmantosi interface un kad type? Kāpēc tu dod priekšroku type?

159

TypeScriptā jūs varat deklarēt tipus, izmantojot atslēgvārdu interface un atslēgvārdu type. Vai varat īsi pateikt, kāda ir atšķirība?

155

Pastāsti par sevi: ar ko pēdējā laikā nodarbojies, kāpēc pēc 2024. gada decembra nav ierakstu tavā CV?

152

lietotāja saskarne { id: skaitlis; name: string; email: string; role: "admin" | "user"; settings: { theme: "dark" | "light"; notifications: boolean; }; } type CreateUser =

148