brackt/tsconfig.server.json
Chris Parsons 2b9ffc0b62 Fix no-explicit-any warnings and upgrade tsconfig to ES2023
- Replace all `any` types with proper types or `unknown` across ~20 files
- Add typed socket payload interfaces in draft route and useDraftSocket
- Use any[] with eslint-disable for socket.io callbacks (legitimate escape hatch)
- Bump all tsconfigs from ES2022 → ES2023 to support toSorted/toReversed
- Fix cascading type errors uncovered by removing any: Map.get narrowing,
  participant relation types, ChartDataPoint, Partial<NewSeason> indexing
- Add ParticipantResultWithParticipant type to participant-result model
- Fix test fixtures to match updated interfaces (DraftCell, ParticipantResult)
- Fix duplicate getQPStandings import in sportsSeasonId.server.ts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 09:40:15 -07:00

42 lines
910 B
JSON

{
"extends": "./tsconfig.json",
"compilerOptions": {
"composite": false,
"noEmit": false,
"outDir": "./dist/server",
"rootDir": ".",
"target": "ES2023",
"module": "ES2022",
"moduleResolution": "node",
"lib": ["ES2023"],
"types": ["node"],
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"baseUrl": ".",
"paths": {
"~/*": ["./app/*"],
"@/*": ["./app/*"],
"~/database/*": ["./database/*"],
"~/server/*": ["./server/*"]
}
},
"include": [
"server.ts",
"server/**/*.ts",
"database/**/*.ts",
"app/database/**/*.ts",
"app/models/**/*.ts",
"app/lib/**/*.ts"
],
"exclude": [
"node_modules",
"build",
"dist",
"**/*.test.ts",
"**/*.spec.ts"
]
}