- Add StringParams = Record<string, string> to types.ts - Use Request<StringParams> in all route handlers across 14 files - Clean up earlier as-cast workarounds in places.ts and admin.ts - tsconfig.json: keep original (removed bad 'types:node' addition) - package.json: restore @types/express back to ^5.0.6
22 lines
497 B
JSON
22 lines
497 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "commonjs",
|
|
"lib": ["ES2022"],
|
|
"outDir": "./dist",
|
|
"rootDir": "./src",
|
|
"strict": false,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"declaration": false,
|
|
"sourceMap": true,
|
|
"allowJs": true,
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false
|
|
},
|
|
"include": ["src"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|