Files
NapCatQQ/packages/napcat-types/tsconfig.json
T
手瓜一十雪 4f1401da78
Release Tag / validate-version (push) Canceled after 0s
Release Tag / trigger-release (push) Canceled after 0s
fix(types): preserve complete nested types during post-processing
Use the TypeScript parser instead of a regex that truncates nested generics and function types. Validate generated syntax and add a regression test. Include workspace aliases and PTY ambient declarations. The full type package build still reports six errors in third-party node-pty source; this commit does not claim to resolve that remaining issue.
2026-10-06 17:51:21 +08:00

60 lines
1.4 KiB
JSON

{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "..",
"declaration": true,
"emitDeclarationOnly": true,
"skipLibCheck": true,
"stripInternal": true,
"noEmitOnError": false,
"paths": {
"napcat-core": [
"../../packages/napcat-core/index.ts"
],
"napcat-core/*": [
"../../packages/napcat-core/*"
],
"napcat-webui-backend/*": [
"../../packages/napcat-webui-backend/*"
],
"napcat-onebot": [
"../../packages/napcat-onebot/index.ts"
],
"napcat-common/src/*": [
"../../packages/napcat-common/src/*"
],
"napcat-image-size/src/*": [
"../../packages/napcat-image-size/src/*"
],
"@/napcat-core/*": [
"../../packages/napcat-core/*"
],
"@/napcat-onebot/*": [
"../../packages/napcat-onebot/*"
],
"@/napcat-common/*": [
"../../packages/napcat-common/*"
],
"@/napcat-webui-backend/*": [
"../../packages/napcat-webui-backend/*"
],
"@/*": [
"../../packages/*"
]
}
},
"include": [
"./index.ts",
"../napcat-pty/node-pty.d.ts",
"../napcat-pty/native.d.ts",
"../napcat-core/**/*.ts",
"../napcat-onebot/**/*.ts",
"../napcat-common/**/*.ts"
],
"exclude": [
"node_modules",
"dist"
]
}