Skip to content

Commit 512f4e9

Browse files
authored
docs: fix outdated tiebreak signature in AGENTS.md (#49)
1 parent f26c948 commit 512f4e9

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

AGENTS.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,11 @@ pnpm lint && pnpm test && pnpm build
107107
All tiebreak functions consumed by `@echecs/tournament` must conform to:
108108

109109
```typescript
110-
(playerId: string, games: Game[], players: Map<string, Player>) => number;
110+
type Tiebreak = (
111+
player: string,
112+
rounds: CompletedRound[],
113+
players: Player[],
114+
) => number;
111115
```
112116

113117
---

0 commit comments

Comments
 (0)