Skip to content

Commit 16e9cf7

Browse files
chriskrycholocks
authored andcommitted
Set correct default module resolution in tsconfig. (#22)
* Set correct default module resolution in tsconfig. * Remove comment from JSON. * Don't deal with IDEs in .gitignore.
1 parent 3877776 commit 16e9cf7

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

blueprints/ember-cli-typescript/files/tsconfig.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@
33
"target": "ES6",
44
"allowJs": true,
55
"moduleResolution": "node",
6-
"noEmitOnError": true,
6+
"noEmitOnError": false,
77
"noEmit": true,
88
"baseUrl": ".",
99
"paths": {
10-
"npm:*": ["local-types/*"],
11-
"*": ["local-types/*"]
10+
"<%= dasherizedPackageName %>/tests/*": ["tests/*"],
11+
"<%= dasherizedPackageName %>/*": ["app/*"]
1212
}
1313
},
1414
"include": [
15-
"app/**/*"
15+
"app/**/*",
16+
"tests/**/*"
1617
]
1718
}

tsconfig.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
"moduleResolution": "node",
66
"noEmitOnError": true,
77
"baseUrl": ".",
8-
"paths": {
9-
"ember": ["node_modules/at-types-ember"],
10-
"npm:*": ["local-types/*"],
11-
"*": ["local-types/*"]
12-
}
8+
"paths": {}
139
},
1410
"include": [
1511
"app/**/*"

0 commit comments

Comments
 (0)