Skip to content

Commit 06112a3

Browse files
committed
Use beta of broccoli-typescript-compiler.
1 parent 268483b commit 06112a3

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

lib/typescript-preprocessor.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ function readConfig(configFile) {
2222
* Return the paths which contain type information.
2323
*/
2424
function typePaths(config) {
25-
const base = ["node_modules/@types"];
26-
2725
const cfgPaths = (config.compilerOptions && config.compilerOptions.paths) || {};
2826

2927
const toTypePaths = paths => (splitPaths, key) => {
@@ -40,7 +38,7 @@ function typePaths(config) {
4038
return splitPaths.concat(newPaths);
4139
};
4240

43-
const out = Object.keys(cfgPaths).reduce(toTypePaths(cfgPaths), base);
41+
const out = Object.keys(cfgPaths).reduce(toTypePaths(cfgPaths), []);
4442
debug("type paths", out);
4543
return out;
4644
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"broccoli-plugin": "^1.2.1",
3333
"broccoli-source": "^1.1.0",
3434
"broccoli-stew": "^1.4.0",
35-
"broccoli-typescript-compiler": "^1.0.1",
35+
"broccoli-typescript-compiler": "beta",
3636
"debug": "^2.2.0",
3737
"ember-cli-babel": "^6.3.0"
3838
},

0 commit comments

Comments
 (0)