Sector file // typescript
TYPESCRIPTDECODED.
Types, generics & inference
81 Questions49.5k Views3.5k Upvotes
13 easy52 med16 hard
Easy
3 questionsMedium
9 questionsWhat is ReadonlyArray and readonly tuple?
Frontend ยท 1.0k views ยท readonly-array
Views:1.0kLikes:45
What are mapped types?
Frontend ยท 876 views ยท mapped-types
Views:876Likes:66
What are utility types like Partial, Pick, and Omit?
Frontend ยท 598 views ยท utility-types
Views:598Likes:68
What are `const` type parameters (`<const T>`) and why are they better than `as const`?
Frontend ยท 481 views ยท generics, const-type-parameters
Views:481Likes:68
What's new to type in TypeScript 5.5+ libs โ `Array.fromAsync`, `Set` methods, `Iterator` helpers?
Frontend ยท 435 views ยท esnext, lib-types
Views:435Likes:8
What is type widening and how do you prevent it?
Frontend ยท 315 views ยท widening, literal-types
Views:315Likes:34
How does `satisfies` validate shape without widening literal types?
Frontend ยท 270 views ยท satisfies, narrowing
Views:270Likes:76
What are branded (nominal) types?
Frontend ยท 162 views ยท branded-types
Views:162Likes:51
Hard
2 questionsSeen a TypeScript question that is not here? Add it and help the next candidate.
Share a question