rename reason to endReason
This commit is contained in:
2
types/index.d.ts
vendored
2
types/index.d.ts
vendored
@@ -4,7 +4,7 @@ export interface Game {
|
||||
white?: User;
|
||||
black?: User;
|
||||
winner?: "white" | "black" | "draw";
|
||||
reason?: string;
|
||||
endReason?: "draw" | "checkmate" | "stalemate" | "repetition" | "insufficient" | "abandoned";
|
||||
host?: User;
|
||||
code?: string;
|
||||
unlisted?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user