Skip to content

Commit 51e8c6b

Browse files
committed
fix(tsconfig): fix loading of typings
"main" typings were both excluded and partially included by filesGlob (read by awesome-typescript-loader). Instead "browser" typings are included, thus including typings type definitions like angular.
1 parent ce0533f commit 51e8c6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/app/tsconfig.client(ts).json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
],
1515
"filesGlob": [
1616
"client/{app,components}/**/!(*.spec).ts",
17-
"typings/main.d.ts"
17+
"typings/browser.d.ts"
1818
],
1919
"awesomeTypescriptLoaderOptions": {
2020
"resolveGlobs": true,

0 commit comments

Comments
 (0)