var tsTranspiler = require('broccoli-typescript-compiler');

function TypeScriptPreprocessor(options) {
  this.name = 'ember-cli-typescript';
  this.ext = 'ts';
  this.options = options;
}

TypeScriptPreprocessor.prototype.toTree = function(tree, inputPath, outputPath) {
  return tsTranspiler(tree, this.options);
};

module.exports = TypeScriptPreprocessor;

var TS = require('broccoli-typescript-compiler');

function TypeScriptPreprocessor(options) {
  this.name = 'ember-cli-typescript';
  this.ext = 'ts';
  this.options = options;
}

TypeScriptPreprocessor.prototype.toTree = function(tree, inputPath, outputPath) {
  return new TS(tree, this.options);
};

module.exports = TypeScriptPreprocessor;

Use options