import type { Player } from "./Player"; export type Team = { // how to organize a team's list of batters, pitchers, bench players, etc.? readonly battingLineup: readonly Player[]; readonly fieldingLineup: FieldingLineup; readonly bullpen: readonly Player[]; readonly bench: readonly Player[]; readonly batterIndex: number; // where to keep track of players no longer in the game? } type FieldingLineup = { readonly pitcher: Player; readonly c: Player; readonly firstBase: Player; readonly secondBase: Player; readonly thirdBase: Player; readonly ss: Player; readonly lf: Player; readonly cf: Player; readonly rf: Player; }