ember install
the dependency like normal:package.json
, and you're ready to roll!typescript
ember-cli-typescript-blueprints
@types/ember
@types/ember-data
@types/ember__*
– @types/ember__object
for @ember/object
etc.@types/ember-data__*
– @types/ember-data__model
for @ember-data/model
etc.@types/rsvp
@types/ember__test-helpers
types/<app name>/index.d.ts
– the location for any global type declarations you need to write for you own application; see Using TS Effectively: Global types for your package for information on its default contents and how to use it effectivelyapp/config/environment.d.ts
– a basic set of types defined for the contents of the config/environment.js
file in your app; see Environment and configuration typings for details