Skip to content

Commit 818dd40

Browse files
committed
fix: fix web ts paths
1 parent 4c162dd commit 818dd40

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

app/web/tsconfig.json

+10-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,16 @@
99
"dom",
1010
"es2017",
1111
"esnext"
12-
]
12+
],
13+
"baseUrl": ".",
14+
"paths": {
15+
"@asset/*": ["asset/*"],
16+
"@component/*": ["component/*"],
17+
"@framework/*": ["framework/*"],
18+
"@store/*": ["page/store/*"],
19+
"@router/*": ["page/admin/home/router/*"],
20+
"@view/*": ["page/admin/home/view/*"]
21+
}
1322
},
1423
"include": [
1524
"./**/*.ts",

tsconfig.json

+1-10
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,7 @@
77
/* Experimental Options */
88
"experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
99
"emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
10-
"strictNullChecks": false,
11-
"baseUrl": "app/web",
12-
"paths": {
13-
"@asset/*": ["asset/*"],
14-
"@component/*": ["component/*"],
15-
"@framework/*": ["framework/*"],
16-
"@store/*": ["page/store/*"],
17-
"@router/*": ["page/router/*"],
18-
"@view/*": ["page/view/*"]
19-
}
10+
"strictNullChecks": false
2011
},
2112
"include": [
2213
"index.ts",

0 commit comments

Comments
 (0)