ember-cli-babel-typescript

Enables your app or addon to use TypeScript syntax
through ember-cli-babel and
@babel/plugin-transform-typescript.
Installation
first.
ember install @ClarkSource/ember-cli-babel-typescript
What this does
This addon will do the following:
However it will not:
Configuration
You can configure this addon in you ember-cli-build.js
file:
/* eslint-env node */
'use strict';
const EmberAddon = require('ember-cli/lib/broccoli/ember-addon');
module.exports = function(defaults) {
const app = new EmberAddon(defaults, {
'ember-cli-babel-typescript': {
disable: false
}
});
return app.toTree();
};
The only option is disable
, which defaults to false
. If you set disable
to true
, Babel will not get configured for usage with TypeScript.