Sector file // typescript
TYPESCRIPTDECODED.
Types, generics & inference
81 Questions49.5k 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.2k views ยท readonly, immutability
Views:1.2kLikes:11
What is the difference between any and unknown?
Frontend ยท 761 views ยท any, unknown
Views:761Likes:10
What is tsconfig.json and which options matter most?
Frontend ยท 546 views ยท tsconfig, tooling
Views:546Likes:22
How does TypeScript handle null and undefined safely?
Frontend ยท 287 views ยท optional, nullish
Views:287Likes: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 ยท 785 views ยท async, promises
Views:785Likes:64
What are declaration files (.d.ts)?
Frontend ยท 730 views ยท declaration, dts
Views:730Likes:68
How do you migrate a JavaScript codebase to TypeScript?
Frontend ยท 663 views ยท migration, tooling
Views:663Likes:10
What does the 'strict' flag in tsconfig enable?
Frontend ยท 539 views ยท config, tsconfig
Views:539Likes:58
How do `noUncheckedIndexedAccess`, `exactOptionalPropertyTypes` and TS 5.6+ checks harden 2025 codebases?
Frontend ยท 483 views ยท strict, noUncheckedIndexedAccess
Views:483Likes:19
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 an index signature?
Frontend ยท 322 views ยท index-signature
Views:322Likes:9
Hard
2 questionsSeen a TypeScript question that is not here? Add it and help the next candidate.
Share a question