fix types to allow partial players list

This commit is contained in:
2025-12-12 13:50:10 +01:00
parent b056857dda
commit 18df336741
@@ -9,7 +9,7 @@ const teamBHeaderText = "CLUB SE DEPLACANT (Noirs échiquier 1)";
interface IProps { interface IProps {
team: "A" | "B"; team: "A" | "B";
teamName: string; teamName: string;
teamPlayers: Pick<Player, "name" | "elo" | "nrFFE">[]; teamPlayers: Partial<Pick<Player, "name" | "elo" | "nrFFE">>[];
boards: unknown[]; boards: unknown[];
} }