TypeScript Syntax
From the basics of variable declaration to advanced architectural patterns. Select a topic below to see syntax examples and interactive practice.
types
Implementation guide and practice for types.
interfaces
Implementation guide and practice for interfaces.
generics
Implementation guide and practice for generics.
functions
Implementation guide and practice for functions.
classes
Implementation guide and practice for classes.
advanced types
Implementation guide and practice for advanced types.
modules
Implementation guide and practice for modules.
decorators
Implementation guide and practice for decorators.
type guards
Implementation guide and practice for type guards.
enums
Implementation guide and practice for enums.
async
Implementation guide and practice for async.
utility types
Implementation guide and practice for utility types.
Want to go beyond syntax?
Mastering the rules is just the start. Our full TypeScript course helps you build logical fluency through progressive challenges.
Start Full TypeScript Course