mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 04:26:57 +00:00
fix types to allow partial players list
This commit is contained in:
@@ -9,7 +9,7 @@ const teamBHeaderText = "CLUB SE DEPLACANT (Noirs échiquier 1)";
|
||||
interface IProps {
|
||||
team: "A" | "B";
|
||||
teamName: string;
|
||||
teamPlayers: Pick<Player, "name" | "elo" | "nrFFE">[];
|
||||
teamPlayers: Partial<Pick<Player, "name" | "elo" | "nrFFE">>[];
|
||||
boards: unknown[];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user