Basic
Details
- What is TypeScript?
- Using
tsc
- Go though the typescript handbook
- Type annotations (variable, function, literal types, etc)
- Enums
- Union types
- Classes
- Type erasure
Links
- https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html
- https://www.typescriptlang.org/docs/handbook/intro.html
- https://www.typescriptlang.org/docs/handbook/2/basic-types.html
- https://www.typescriptlang.org/docs/handbook/2/everyday-types.html
- https://www.typescriptlang.org/docs/handbook/2/classes.html
- https://www.typescriptlang.org/docs/handbook/compiler-options.html
- https://www.freecodecamp.org/news/what-is-type-erasure-in-typescript
Intermediate
Details
- Generic
- Interfaces vs type aliases
- Decorators
- Namespaces
-
declare
, declaration merging - Using 3rd party libraries and types
Links
- https://blog.logrocket.com/types-vs-interfaces-in-typescript/
- https://www.typescriptlang.org/docs/handbook/2/generics.html
- https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html
- https://www.typescriptlang.org/docs/handbook/decorators.html
- https://www.typescriptlang.org/docs/handbook/namespaces.html
- https://www.typescriptlang.org/docs/handbook/declaration-merging.html
Courses
Advanced
Details
- Type manipulation
- Conditional types
- Mapped types
- typeof
- keyof
- Type guards
- Migrating from JS
- Artifact types (source maps, declarations)
Links
- https://www.typescriptlang.org/docs/handbook/2/keyof-types.html
- https://www.typescriptlang.org/docs/handbook/2/conditional-types.html
- https://www.typescriptlang.org/docs/handbook/2/mapped-types.html
- https://www.typescriptlang.org/docs/handbook/2/typeof-types.html
- https://www.typescriptlang.org/docs/handbook/advanced-types.html#type-guards-and-type-assertions
- https://www.typescriptlang.org/docs/handbook/migrating-from-javascript.html#setting-up-your-directories
- https://www.typescriptlang.org/docs/handbook/declaration-files/deep-dive.html