Use TypeScript in your Ember.js apps!
MIT License
Bot releases are hidden (Show)
Published by chriskrycho about 7 years ago
In an app, run:
ember install ember-cli-typescript@next
A bunch of internal changes, with minimal impact on you as a consumer except improving runtime a teensy bit and making it so your types all check a bit better right out of the box:
this.ui.write
instead of console.log
paths
(thanks @toranb!)Many thanks to @krisselden and @rwjblue for lots of help with this!
Published by chriskrycho about 7 years ago
In an app, run:
ember install ember-cli-typescript@next
Correctly match the broccoli-typescript-compiler option throwOnError
with the tsconfig noEmitOnError
option.
Published by chriskrycho over 7 years ago
The headline feature: ember serve
and ember test
and ember build
all work properly now, across platforms. And builds are much faster on all platforms, too.
Miscellaneous other changes:
app/config/environment.d.ts
to include the defaults generated when creating an Ember app (thanks, @luketheobscure!)Published by chriskrycho over 7 years ago
tsconfig.json
:
local-types
references (which did nothing 😬).my-app/components/some-foo
and my-app/tests/integration/components/some-foo
.Published by chriskrycho over 7 years ago
The add-on now successfully installs on Windows. It doesn't run yet, but it installs.