ember-cli-typescript v2 release candidate
I and the rest of the “typed-ember” team are pleased to announce the first release candidate of the next version of TypeScript support in Ember.js apps and addons.
We’re very interested in your feedback. Please read this thoroughly, try out the release candidate and let us know if you run into any issues
Here’s what you need to know:
It relies on the new babel7 support for handling ts files
Ember apps are transpiled with babel, and integrating an additional compiler (
tsc) required some significant asset pipeline backflips. This never worked perfectly and resulted in some serious limitations around the use of other addons, as well as build performance penalties
You still get type-checking from TypeScript
.d.tsfiles when precompiling addons for publishing.
One thing you should know: for projects that use decorators, the transpiled output files will be unnecessarily large
This is one last thing that’s being worked on is a build output size bloat, relative to the same project compiled with
ember-cli-typescript v1. This is due to repeated babel helpers for decorators — pzuraq (you may know him as the ember-decorators maintainer) is working on a fix for this, which we hope will land next week.
How do I try this out?
Check out the installation instructions on our v2 branch.
Special thanks to Dan Freeman
He did the lion’s share of the work getting the project aligned with Ember’s babel conventions