- 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>
34 lines
760 B
JSON
34 lines
760 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"include": [
|
|
".react-router/types/**/*",
|
|
"app/**/*",
|
|
"app/**/.server/**/*",
|
|
"app/**/.client/**/*",
|
|
"database/**/*",
|
|
"server/**/*"
|
|
],
|
|
"exclude": [
|
|
"**/*.js"
|
|
],
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
"strict": true,
|
|
"lib": ["DOM", "DOM.Iterable", "ES2023"],
|
|
"types": ["vite/client"],
|
|
"target": "ES2022",
|
|
"module": "ES2022",
|
|
"moduleResolution": "bundler",
|
|
"jsx": "react-jsx",
|
|
"baseUrl": ".",
|
|
"rootDirs": [".", "./.react-router/types"],
|
|
"paths": {
|
|
"@/*": ["./app/*"],
|
|
"~/database/*": ["./database/*"],
|
|
"~/server/*": ["./server/*"],
|
|
"~/*": ["./app/*"]
|
|
},
|
|
"esModuleInterop": true,
|
|
"resolveJsonModule": true
|
|
}
|
|
}
|