From 0762754ed3f9f9d6369dd45a1a00fc7a4fadd10d Mon Sep 17 00:00:00 2001 From: TheLetterZed <153703497+TheLetterZed@users.noreply.github.com> Date: Sat, 4 May 2024 11:20:19 -0700 Subject: [PATCH] Fix README typo in chess.moves({ verbose: true }) (#458) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 081ee29..9ab0fff 100644 --- a/README.md +++ b/README.md @@ -725,7 +725,7 @@ chess.moves({ piece: 'n' }) // generate moves for piece type chess.moves({ verbose: true }) // return verbose moves // -> [{ color: 'w', from: 'a2', to: 'a3', // flags: 'n', piece: 'p', -// san 'a3', 'lan', 'a2a3', +// san: 'a3', lan: 'a2a3', // before: 'rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1' // after: 'rnbqkbnr/pppppppp/8/8/8/P7/1PPPPPPP/RNBQKBNR b KQkq - 0 1' // # a `captured` field is included when the move is a capture