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

[meet.js] TypeScript - what is new any why you are not using it

[meet.js] TypeScript - what is new any why you are not using it

What is new in TypeScript 1.7 and why it is becoming more and more popular.
meet.js meetup meeting. Gdańsk, Poland

Michał Michalczuk

February 01, 2016
Tweet

More Decks by Michał Michalczuk

Other Decks in Programming

Transcript

  1. ?

  2. Typings { "version": "v4", "repo": "borisyankov/DefinitelyTyped", "ref": "master", "path": "typings",

    "bundle": "typings/tsd.d.ts", "installed": { "node/node.d.ts": { "commit": "6a6ad7068..." }, "mocha/mocha.d.ts": { "commit": "e57df787f..." }, … } [show example]
  3. Typings /// <reference path="chai/chai.d.ts" /> /// <reference path="express/express.d.ts" /> ///

    <reference path="mime/mime.d.ts" /> Jeden plik … w końcu automatycznie [show example]
  4. Nowe formy | Annotacje Gdzieś już to widziałem... @Component({ selector:

    'tabs' }) export class Tabs { ... } @View({ template: ` <ul> <li>Tab 1</li> <li>Tab 2</li> </ul>’ })
  5. Nowe formy | Dekoratory [show example] Nie tak dawno temu

    był sobie adapter do klienta redis-a...