Download presentation
Presentation is loading. Please wait.
1
TypeScript and Angular 2
Jonathan Turner Program Manager
2
Agenda Introduction Demo Resources
3
Please note: using experimental features
4
TypeScript Features Classes Modules Decorators
5
TypeScript Features Classes Modules Decorators Classes class C { constructor () { … } property: string; method () { … } }
6
TypeScript Features Modules Classes
Decorators Modules import { add, divide } from “math”; import * as Math from “math”; export function bar() { … }
7
TypeScript Features Decorators Classes
Modules Decorators Decorators @View({template:“<b>hi</b>”}) class C { … }
8
Angular 2 Features Built on modern JS Modular
Uses features of future JS for a clean API
9
Demo
10
Resources github.com/jonathandturner/ AudioScope-ng2
typescriptlang.org github.com/Microsoft/TypeScript
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.