Sector file // typescript
TYPESCRIPTDECODED.
Types, generics & inference
81 Questions49.5k 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 ยท 968 views ยท assertion
Views:968Likes:6
What does the declare keyword do?
Frontend ยท 765 views ยท declare, ambient
Views:765Likes:49
How does the 'in' operator narrow types?
Frontend ยท 738 views ยท narrowing, in
Views:738Likes:14
What do Exclude, Extract, and NonNullable do?
Frontend ยท 611 views ยท exclude, extract
Views:611Likes:47
What is a discriminated union?
Frontend ยท 496 views ยท discriminated-union
Views:496Likes:50
Seen a TypeScript question that is not here? Add it and help the next candidate.
Share a question