Skip to content

Commit 3019d44

Browse files
committed
refactor(tsconfig): @docs-components/* paths
1 parent 51b2ab0 commit 3019d44

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

tsconfig.app.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
"extends": "./tsconfig.json",
44
"compilerOptions": {
55
"outDir": "./out-tsc/app",
6-
"types": []
6+
"types": [],
7+
"paths": {
8+
"@docs-components/*": ["./src/components/*"]
9+
}
710
},
811
"files": [
912
"src/main.ts",

tsconfig.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,17 @@
2121
"lib": [
2222
"es2020",
2323
"dom"
24-
]
24+
],
2525
},
2626
"angularCompilerOptions": {
2727
"enableI18nLegacyMessageIdFormat": false,
2828
"strictInjectionParameters": true,
2929
"strictInputAccessModifiers": true,
3030
"strictTemplates": true
31-
}
31+
},
32+
"files": [],
33+
"references": [
34+
{ "path": "./tsconfig.app.json" },
35+
{ "path": "./tsconfig.spec.json" },
36+
]
3237
}

0 commit comments

Comments
 (0)