Skip to content

Built-In Types

Built-In Types

The canonical built-in type names used throughout the docs and specs are:

  • Number
  • String
  • Boolean
  • Null
  • Undefined
  • Never
  • Unknown

Why the canonical names matter

Using the same names consistently across code examples, docs, and compiler diagnostics helps the language feel smaller and easier to learn.