0

Completed

0%

Progress

0

Starred

01

What is TypeScript and why is it used?

beginner#TypeScript Basics
02

What are the key benefits of using TypeScript over JavaScript?

beginner#TypeScript Basics
03

What is the difference between TypeScript and JavaScript?

beginner#TypeScript Basics
04

What are type annotations in TypeScript?

beginner#Types
05

What are primitive types in TypeScript?

beginner#Types
06

How do you define arrays and tuples in TypeScript?

beginner#Types
07

What are enums in TypeScript and how do they work?

beginner#Types
08

What is the 'any' type in TypeScript and when should you use it?

beginner#Types
09

What is the 'unknown' type and how does it differ from 'any'?

beginner#Types
10

What are the 'void' and 'never' types in TypeScript?

beginner#Types
11

How does TypeScript treat null and undefined?

beginner#Types
12

How does type inference work in TypeScript?

beginner#Type Inference
13

What are union types and literal types in TypeScript?

beginner#Union & Literal Types
14

How do you type functions, optional, default, and rest parameters in TypeScript?

beginner#Functions
15

What is the difference between interface and type alias in TypeScript?

beginner#Interfaces & Types
16

How do you type objects in TypeScript? Explain index signatures and excess property checks.

beginner#Objects
17

What are basic generics in TypeScript? How do you write a generic identity function?

beginner#Generics
18

How do you define classes with access modifiers in TypeScript?

beginner#Classes
19

What are type assertions in TypeScript? Explain `as`, `as const`, and the `as unknown as` pattern.

beginner#Type Assertions
20

What are the `keyof` and `typeof` operators in TypeScript?

beginner#Keyof & Typeof
21

What are the essential tsconfig.json compiler options? Explain target, module, strict, and lib.

beginner#TsConfig
22

How do you add constraints to generic types using `extends`?

beginner#Basic Generics
23

How do you use `readonly` and optional properties (`?`) in TypeScript interfaces?

beginner#Readonly & Optional