TypeScript & EmberJS
Dawid Pośliński @PoslinskiNet
@PoslinskiNet
@PoslinskiNet
- Easier to refactor a complex logic (especially for large applications)
- Glimmer uses TypeScript
@PoslinskiNet
types, interfaces... get errors quicker
@PoslinskiNet
- Different mindset (if no experience with typed languages)
- Not fully integrated yet, there are some compatibility issues
@PoslinskiNet
1. Compiler
$ npm install -g typescript
2. CLI package
$ ember install ember-cli-typescript
@PoslinskiNet
Good news...
@PoslinskiNet
1. Repository
https://github.com/emberwatch/ember-cli-typescript
(incremental adoption section)
2. Slack
https://embercommunity.slack.com/
#topic-typescript
@PoslinskiNet
Playground
https://www.typescriptlang.org/play/
Various .ts examples
https://github.com/Microsoft/TypeScriptSamples/
Glimmer
https://github.com/glimmerjs/glimmer-application
Sample Application
https://gitlab.com/pixelhandler/on-boarding
@PoslinskiNet
Dawid Pośliński @PoslinskiNet
http://poslinski.net