Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Warum TypeScript?

Avatar for Joshy Cyriac Joshy Cyriac
September 18, 2015

Warum TypeScript?

Talk given at bed-con.org in Berlin 2015

Avatar for Joshy Cyriac

Joshy Cyriac

September 18, 2015
Tweet

Other Decks in Programming

Transcript

  1. var answer: number = 4; var n: number[] = [1,

    2, 3]; var city: string = “Berlin”; enum Color { Red, Green, Blue }; “basic.ts”
  2. var answer = 4; var n = [1, 2, 3];

    var city = “Berlin”; var Color; (function (Color) { … } “basic.js”
  3. var foo: any; var foos: any[]; function log(msg): void {

    … } var fAdd: (x: number, y: number)=>number; “func.ts”
  4. > npm install -g typescript > mv *.js *.ts >

    tsc -w -m commonjs server.ts