diff --git a/src/engine/dfs/ls/generateSchedule/index.ts b/src/engine/dfs/ls/generateSchedule/index.ts index e91e4127..3b744220 100644 --- a/src/engine/dfs/ls/generateSchedule/index.ts +++ b/src/engine/dfs/ls/generateSchedule/index.ts @@ -2,7 +2,12 @@ import { keyBy, uniq } from 'lodash'; import getFirstSuitableMatchday from './getFirstSuitableMatchday.wrapper'; -export default async function generateSchedule({ +interface Team { + readonly id: string; + readonly name: string; +} + +export default async function generateSchedule({ matchdaySize, allGames: allGamesWithIds, signal, @@ -33,7 +38,6 @@ export default async function generateSchedule({ // ]); const result = await getFirstSuitableMatchday({ - // @ts-expect-error Fix this later teams: allTeams, matchdaySize, allGames: allGamesUnordered,