diff options
| author | amankumarsingh77 <amankumarsingh7702@gmal.com> | 2026-05-02 15:39:06 +0530 |
|---|---|---|
| committer | amankumarsingh77 <amankumarsingh7702@gmal.com> | 2026-05-02 15:39:06 +0530 |
| commit | 10f44002e22ca10f3e5e504c838a950184cb41a0 (patch) | |
| tree | 1dae5b4f7f564754e8728b2cb80b406375d74428 /tsconfig.json | |
| parent | 60ddf56f1db548456538c70bd6254e519d734bf8 (diff) | |
build: enable strict tsconfig flags for new code, keep legacy lenient
Diffstat (limited to 'tsconfig.json')
| -rw-r--r-- | tsconfig.json | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/tsconfig.json b/tsconfig.json index fb27021..0dfa85a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,15 +4,31 @@ "module": "ESNext", "moduleResolution": "bundler", "strict": true, + "noImplicitAny": true, + "strictNullChecks": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noImplicitReturns": true, + "noFallthroughCasesInSwitch": true, + "noUncheckedIndexedAccess": true, + "exactOptionalPropertyTypes": true, + "noPropertyAccessFromIndexSignature": true, + "forceConsistentCasingInFileNames": true, "esModuleInterop": true, "skipLibCheck": true, - "forceConsistentCasingInFileNames": true, "outDir": "./dist", "rootDir": "./src", "declaration": true, "declarationMap": true, "sourceMap": true }, - "include": ["src/**/*.ts"], + "include": [ + "src/util/**/*.ts", + "src/cdp/**/*.ts", + "src/client.ts", + "src/domains/**/*.ts", + "src/schemas/**/*.ts", + "src/registry.ts" + ], "exclude": ["node_modules", "dist"] } |
