Angular & TypeScript
Në shqip përdoret i njëjti emër.
ShpjegimiSQ
Angular është shkruar në TypeScript dhe e përdor kudo: komponentët janë klasa me dekoratorë (@Component), shërbimet injektohen me tipe, dhe signals janë plotësisht të tipizuara.
EnglishEN
Angular is written in TypeScript and uses it everywhere: components are classes with decorators (@Component), services are injected with types, and signals are fully typed.
Si ta mendosh
Si një shtëpi e ndërtuar që në themel me TypeScript.
Lexoje në anglisht
Like a house built on TypeScript from the foundations up.
Shembull koditypescript
@Component({ selector: "app-nota", template: "<p>{{ nota() }}</p>" })
export class NotaComponent {
nota = signal(9);
}