Sector file // typescript
TYPESCRIPTDECODED.
Types, generics & inference
81 Questions49.3k Views3.5k Upvotes
13 easy52 med16 hard
Easy
2 questionsMedium
11 questionsWhat is type narrowing and what are type guards?
Frontend ยท 1.1k views ยท narrowing, guards
Views:1.1kLikes:34
What are assertion functions (asserts)?
Frontend ยท 1.1k views ยท asserts
Views:1.1kLikes:57
What are union and intersection types?
Frontend ยท 1.1k views ยท union, narrowing
Views:1.1kLikes:69
What are type assertions and when should you use them?
Frontend ยท 966 views ยท assertion
Views:966Likes:6
What does the declare keyword do?
Frontend ยท 764 views ยท declare, ambient
Views:764Likes:49
How does the 'in' operator narrow types?
Frontend ยท 736 views ยท narrowing, in
Views:736Likes:14
What do Exclude, Extract, and NonNullable do?
Frontend ยท 609 views ยท exclude, extract
Views:609Likes:47
What is a discriminated union?
Frontend ยท 494 views ยท discriminated-union
Views:494Likes:50
Seen a TypeScript question that is not here? Add it and help the next candidate.
Share a question