8000 typescript-101/02-basic-types at master · ashishgkwd/typescript-101 · GitHub
[go: up one dir, main page]

Skip to content 7FFF

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Basic Types supported by TypeScript

  • Boolean
  • Number
  • String
  • Array
  • Tuple
  • Enum
  • Any
  • Void
  • Null
  • Undefined
  • Never

It is important to always remember that type safety and inference is only a compile time feature and not available during runtime.

The above features immensely help in better programs, easier documentation and code hints or api signature understanding.

0