File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,6 @@ function readConfig(configFile) {
2222 * Return the paths which contain type information.
2323 */
2424function 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}
Original file line number Diff line number Diff line change 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 },
You can’t perform that action at this time.
0 commit comments