simple:typescript
Learn TypeScript in 1 hourSimplified resources on TypeScript from tips to courses to solutions from beginner to advanced, created by Dillion
Improve your skills with these tips
keyof typeof magic - Don't repeat yourself
keyof typeof allows you to easily create a type from the properites in...
Use unknown instead of any, it's saferThe `any` type turns off type checks, but the unknown type doesn't
Use literal types to narrow your typeskeyof typeof allows you to easily create a type from the properites in...
Understanding TypeScript Errors
Cannot redeclare block-scoped variable
Why does this error exist even when I don't have any duplicate variabl...
Insufficient overlaps with types - Convert to unknown firstWhat does this error mean? How do I know what types overlap in TypeScr...
No Index Signature - Expression cannot be used to index typeWhat does this error mean, and how can I solve it?