TypeScript Syntax - Built in Types
⢠any
⢠void
⢠null
⢠undefined
⢠never
⢠object
⢠unknown
⢠boolean
⢠number
⢠string
⢠Array
⢠Tuple
⢠Enum
Slide 16
Slide 16 text
âHow is this diďŹerent from CoďŹeeScript?â
g r u m p y m e
Slide 17
Slide 17 text
TypeScript Goals
Slide 18
Slide 18 text
âImpose no runtime overheadâ¨
on emitted programsâ
D e s i g n G o a l # 3
Slide 19
Slide 19 text
âEmit clean, idiomatic, recognizable â¨
JavaScript codeâ
D e s i g n G o a l # 4
Slide 20
Slide 20 text
âAlign with current and future â¨
ECMAScript proposalsâ
D e s i g n G o a l # 6
Slide 21
Slide 21 text
âUse a consistent, fully erasable, â¨
structural type systemâ
D e s i g n G o a l # 9
Slide 22
Slide 22 text
No content
Slide 23
Slide 23 text
âWe're not going to take a major version bump
because there was a bug in the compiler where it
failed to identify early errors, even though that's
technically a breaking changeâ
R ya n C a va n a u g h ( M i c r o s o f t / Ty p eS c r i p t # 1 4 1 1 6 )