al e s s i o de b e n e d e t t o
a long time ago in a galaxy
far, far away
NON PROFESSIONAL PROGRAMMER
NON PROFESSIONAL PROGRAMMER
welcome to the {undefined} side
==
NaN NaN
TypeScript is a typed superset of JavaScript that compiles to
plain JavaScript
Types enable TypeScript developers to use highly-productive development
tools and practices
static checking, symbol-based navigation,
statement completion, and code refactoring.
https://github.com/borisyankov/DefinitelyTyped
demohttp://tinyurl.com/devmarche-tsintro
class Jedi {name: string;constructor(name: string) {this.name = name;
}
useTheForce() { }}
class SuperHero {name: string;constructor(name: string) {this.name = name;
}
useTheForce() { }fly() {}
}
var hulk = new SuperHero('Hulk');
var yoda = new Jedi('Yoda');
http://tinyurl.com/devmarche-ngts