0
Completed
0%
Progress
0
Starred
What is TypeScript and why is it used?
What are the key benefits of using TypeScript over JavaScript?
What is the difference between TypeScript and JavaScript?
What are type annotations in TypeScript?
What are primitive types in TypeScript?
How do you define arrays and tuples in TypeScript?
What are enums in TypeScript and how do they work?
What is the 'any' type in TypeScript and when should you use it?
What is the 'unknown' type and how does it differ from 'any'?
What are the 'void' and 'never' types in TypeScript?
How does TypeScript treat null and undefined?
How does type inference work in TypeScript?
What are union types and literal types in TypeScript?
How do you type functions, optional, default, and rest parameters in TypeScript?
What is the difference between interface and type alias in TypeScript?
How do you type objects in TypeScript? Explain index signatures and excess property checks.
What are basic generics in TypeScript? How do you write a generic identity function?
How do you define classes with access modifiers in TypeScript?
What are type assertions in TypeScript? Explain `as`, `as const`, and the `as unknown as` pattern.
What are the `keyof` and `typeof` operators in TypeScript?
What are the essential tsconfig.json compiler options? Explain target, module, strict, and lib.
How do you add constraints to generic types using `extends`?
How do you use `readonly` and optional properties (`?`) in TypeScript interfaces?