1949007c99
- Add coding convention: no '?:', use explicit 'T | null' - ReflexConfig → discriminated union (SenseReflexConfig | WorkflowReflexConfig) - All optional fields → explicit null (throttle, timeout, interval, on, maxQueue, workflows) - Add exactOptionalPropertyTypes to tsconfig - Add lib: ES2022 to tsconfig - Refactor validateReflexConfig to reduce cognitive complexity 小橘 <xiaoju@shazhou.work>
24 lines
543 B
JSON
24 lines
543 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"lib": ["ES2022"],
|
|
"module": "NodeNext",
|
|
"moduleResolution": "NodeNext",
|
|
"strict": true,
|
|
"exactOptionalPropertyTypes": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"composite": true,
|
|
"outDir": "dist"
|
|
},
|
|
"references": [
|
|
{ "path": "packages/core" },
|
|
{ "path": "packages/cli" },
|
|
{ "path": "packages/daemon" }
|
|
]
|
|
}
|