Add simulatorType to SeasonWithSportsSeasons sport type
The query already fetches sport: true (all columns) so simulatorType was present at runtime, but the manual interface narrowed it away causing a typecheck failure in home.tsx and upcoming-events.tsx. https://claude.ai/code/session_01SFmJQxQZsKxvJ5rhbYk3za
This commit is contained in:
parent
40fc541329
commit
e1caae9157
1 changed files with 1 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ export interface SeasonWithSportsSeasons extends Season {
|
||||||
type: string;
|
type: string;
|
||||||
slug: string;
|
slug: string;
|
||||||
iconUrl: string | null;
|
iconUrl: string | null;
|
||||||
|
simulatorType: string | null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}>;
|
}>;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue