TypeScript Coach

  • Handbook
  • Tutorials
  • About
  • API
  • Handbook

    • JavaScript
    • Basics
    • Objects
    • Functions
    • Types
    • Advanced Types
      • Union and intersection types
      • Literal types
      • Conditional types
    • Utility Types
    • Classes
    • Modules
    • Namespaces
    • Decorators
  • Tutorials

    • TypeScript Compiler
    • Bundlers
    • React + TSX
    • Databases
    • Unit Testing
    • Networking
    • Express
    • Command Line Interfaces
    • Dates and Timezones
  • Sign in

Advanced Types

These are advanced type ideas in TS

Union and intersection types

Foo & Bar

Literal types

  • https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#literal-types

Conditional types

Was this page helpful?

Built with ❤️ by keshav

Follow on XGitHub repository