fix: apps/server 继承根 tsconfig,消除 allowImportingTsExtensions 报错
包内相对导入均为 .ts 扩展名,包级配置须与根一致(extends + allowImportingTsExtensions)。
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"strict": true,
|
||||
"types": ["bun"]
|
||||
}
|
||||
"types": ["bun"],
|
||||
"allowImportingTsExtensions": true
|
||||
},
|
||||
"include": ["src/**/*.ts", "test/**/*.ts"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user