What is TS
All or nothing
Typescript 可以被渐进使用
Typescript 的目的
类型定义 Type Something
type variable
- primitive
- number
- string
- boolean
- object
- array
- object
- primitive
type function
- argument
- return type
Type from types
autocomplete
Comparison
interface
vstype
- grammar
- interchangeable
- oop
void
vsnever
&
vs|
- x
- Union