Deprecated please see broccoli-typescript-compiler.

broccoli-plugin, compiler, TypeScript, javascript, js
npm install broccoli-typify@0.4.0



More recent versions of ember-typify use directly the broccoli-typescript-compiler.

Obsolete README

Process typescript files and resolves type defintions to @types.

Travis build status: Travis build status


Broccoli typescript interfaces extracted from Angular:

Tests and use cases extracted from:


Most of the resolution needs can be handled with settings in the tsconfig.json file.

Ember-cli integration

The type mappings are done through baseUrl and paths in the tsconfig.json. For integration with the IDE the baseUrl can be just '.' which translates to the current folder. However for broccoli plugins this does not work, an absolute path is needed. The plugin takes care of that transformation.

Also noEmit is set to true in the basic tsconfig.json file to reduce user errors where the user or IDE runs tsc and generates .js and .map files. The plugin removes noEmit when using the configuration file during actual brocoli pipeline.