Skip to content
This repository has been archived by the owner on Jul 6, 2018. It is now read-only.
/ ember-typings Public archive

Typescript type definitions for ember.js

License

Notifications You must be signed in to change notification settings

typed-ember/ember-typings

Repository files navigation

🛑 ARCHIVED 🛑

This repository is now in archival mode, having fulfilled its purpose. We now track type definition issues for the Ember project in the ember-cli-typescript repository.


ember-typings

build status

Development repository for TypeScript type definitions for Ember.js.

The type definitions are perodically published to @types/ember through DefinitelyTyped. You shouldn't depend on this package directly unless you're testing or helping develop new Ember.js ecosystem typings.

Running Tests

yarn test

The tests do not run, the code is only type-checked.

Testing in your project

To use ember-typings instead of @types/ember, first run:

yarn remove @types/ember @types/ember-testing-helpers @types/rsvp
yarn add typed-ember/ember-typings --dev

Then add a paths entry to your tsconfig.json:

{
  "compilerOptions": {
    "paths": {
      "*": [
        "node_modules/ember-typings/types/*"
      ]
    }
  }
  ...
}