- Replace hand-rolled strict flags with @tsconfig/strictest - Pick up Node 26 module/lib/target from @tsconfig/node26 - Add exactOptionalPropertyTypes (the main strictness gain) - Pin target to es2024 to remain conservative for the published build
22 lines
552 B
JSON
22 lines
552 B
JSON
{
|
|
"extends": [
|
|
"@tsconfig/node26/tsconfig.json",
|
|
"@tsconfig/strictest/tsconfig.json"
|
|
],
|
|
"compilerOptions": {
|
|
"noEmit": true,
|
|
"target": "es2024",
|
|
"lib": ["es2024"],
|
|
"verbatimModuleSyntax": true,
|
|
"allowImportingTsExtensions": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"outDir": "dist",
|
|
"allowSyntheticDefaultImports": true,
|
|
"resolveJsonModule": true,
|
|
"composite": false
|
|
},
|
|
"include": ["src"]
|
|
}
|