brackt/app/services/__tests__
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
..
bracket-simulator.test.ts Add oxlint and fix all lint errors 2026-03-21 09:40:15 -07:00
discord.test.ts Refactor standings notifications to show only changed teams (#182) 2026-03-19 15:52:57 -07:00
ev-calculator.test.ts fix: align ev-calculator tests with decimal (0-1) probability format 2026-02-14 23:26:32 -08:00
icm-calculator.test.ts fix: correct test expectations for ICM edge cases and duplicate text queries 2026-02-17 14:24:07 -08:00
probability-engine.test.ts Add oxlint and fix all lint errors 2026-03-21 09:40:15 -07:00
probability-updater.test.ts Fix no-explicit-any warnings and upgrade tsconfig to ES2023 2026-03-21 09:40:15 -07:00