Sector file // typescript
TYPESCRIPTDECODED.
Types, generics & inference
81 Questions49.5k Views3.5k Upvotes
13 easy52 med16 hard
Easy
2 questionsMedium
4 questionsWhat 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
How do you get a union of an object's values as a type?
Frontend ยท 209 views ยท enum, keyof
Views:209Likes:45
What does as const do?
Frontend ยท 65 views ยท as-const, literal-types
Views:65Likes:65
Seen a TypeScript question that is not here? Add it and help the next candidate.
Share a question