n8n/packages/cli/tsconfig.json
Matsu 370b281216
chore(core): Enable TypeScript strict mode in packages/cli (no-changelog) (#27876)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-27 14:21:31 +00:00

41 lines
1.5 KiB
JSON

{
"extends": [
"@n8n/typescript-config/tsconfig.common.json",
"@n8n/typescript-config/tsconfig.backend.json"
],
"compilerOptions": {
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"paths": {
"@/*": ["./src/*"],
"@test/*": ["./test/shared/*"],
"@test-integration/*": ["./test/integration/shared/*"]
},
"tsBuildInfoFile": "dist/typecheck.tsbuildinfo",
"strict": true,
"strictFunctionTypes": false,
"strictPropertyInitialization": false,
// TODO: remove all options below this line
"useUnknownInCatchVariables": false
},
"include": ["src/**/*.ts", "test/**/*.ts", "src/sso.ee/saml/saml-schema-metadata-2.0.xsd"],
"references": [
{ "path": "../core/tsconfig.build.json" },
{ "path": "../nodes-base/tsconfig.build.cjs.json" },
{ "path": "../workflow/tsconfig.build.esm.json" },
{ "path": "../@n8n/ai-utilities/tsconfig.build.cjs.json" },
{ "path": "../@n8n/api-types/tsconfig.build.json" },
{ "path": "../@n8n/client-oauth2/tsconfig.build.json" },
{ "path": "../@n8n/config/tsconfig.build.json" },
{ "path": "../@n8n/constants/tsconfig.build.json" },
{ "path": "../@n8n/decorators/tsconfig.build.json" },
{ "path": "../@n8n/db/tsconfig.build.json" },
{ "path": "../@n8n/errors/tsconfig.build.json" },
{ "path": "../@n8n/backend-common/tsconfig.build.json" },
{ "path": "../@n8n/backend-test-utils/tsconfig.build.json" },
{ "path": "../@n8n/di/tsconfig.build.json" },
{ "path": "../@n8n/nodes-langchain/tsconfig.build.json" },
{ "path": "../@n8n/permissions/tsconfig.build.json" }
]
}