Sector file // typescript
TYPESCRIPTDECODED.
Types, generics & inference
81 Questions49.3k Views3.5k Upvotes
13 easy52 med16 hard
Easy
5 questionsWhat are optional properties and optional chaining in TypeScript?
Frontend ยท 1.2k views ยท optional, null-safety
Views:1.2kLikes:14
How do you make values immutable in TypeScript?
Frontend ยท 1.1k views ยท readonly, immutability
Views:1.1kLikes:11
What is the difference between any and unknown?
Frontend ยท 759 views ยท any, unknown
Views:759Likes:10
What is tsconfig.json and which options matter most?
Frontend ยท 545 views ยท tsconfig, tooling
Views:545Likes:22
How does TypeScript handle null and undefined safely?
Frontend ยท 286 views ยท optional, nullish
Views:286Likes:8
Medium
8 questionsWhat is the definite assignment assertion (!)?
Frontend ยท 1.2k views ยท definite-assignment
Views:1.2kLikes:56
How do you type async functions and Promises?
Frontend ยท 783 views ยท async, promises
Views:783Likes:64
What are declaration files (.d.ts)?
Frontend ยท 728 views ยท declaration, dts
Views:728Likes:68
How do you migrate a JavaScript codebase to TypeScript?
Frontend ยท 661 views ยท migration, tooling
Views:661Likes:10
What does the 'strict' flag in tsconfig enable?
Frontend ยท 536 views ยท config, tsconfig
Views:536Likes:58
How do `noUncheckedIndexedAccess`, `exactOptionalPropertyTypes` and TS 5.6+ checks harden 2025 codebases?
Frontend ยท 482 views ยท strict, noUncheckedIndexedAccess
Views:482Likes:19
What's new to type in TypeScript 5.5+ libs โ `Array.fromAsync`, `Set` methods, `Iterator` helpers?
Frontend ยท 431 views ยท esnext, lib-types
Views:431Likes:8
What is an index signature?
Frontend ยท 319 views ยท index-signature
Views:319Likes:9
Hard
2 questionsSeen a TypeScript question that is not here? Add it and help the next candidate.
Share a question