Slide 1

Slide 1 text

01 miiiCasa Inc. TypeScript Kevin Zhuang

Slide 2

Slide 2 text

02 • The Big Picture • Where is TypeScript • Introduction of TypeScript • Code Demo 02

Slide 3

Slide 3 text

We want to use our code and skill to produce JS code. GWT…category Compile Technology We want to extend the usage domain of JS. NodeJS JS Runtime Engine Technology We want fancy utility and effect. jQuery UI AmChart We want make JS maintainable. Backbone

Slide 4

Slide 4 text

We want to use our code and skill to produce JS code. GWT Compile Technology We want to extend the usage domain of JS. NodeJS JS Runtime Engine Technology We want fancy utility and effect. jQuery UI AmChart We want make JS maintainable. Backbone TypeScript is Here!!

Slide 5

Slide 5 text

TypeScript • TypeScript is a language for application-scale JavaScript development • TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.

Slide 6

Slide 6 text

TypeScript Demo • Hope it can work.

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

TypeScript • There's no implicit downcasting • All types are nullable • The type annotation syntax is nice • function takeCallback(callback : (n : number) => number) { ... } • You can overload in interfaces by parameter signature • interface Doubler { • double(s : string) : string; • double(n : number) : number; } • Arrow functions and lexical this