fix: apps/server 继承根 tsconfig,消除 allowImportingTsExtensions 报错

包内相对导入均为 .ts 扩展名,包级配置须与根一致(extends + allowImportingTsExtensions)。
This commit is contained in:
2026-10-06 12:14:38 +08:00
parent 7ab9d32495
commit fa5b3a8942
+5 -3
View File
@@ -1,6 +1,8 @@
{ {
"extends": "../../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"strict": true, "types": ["bun"],
"types": ["bun"] "allowImportingTsExtensions": true
} },
"include": ["src/**/*.ts", "test/**/*.ts"]
} }