Skip to content

Commit

Permalink
remove typescript errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ananas-dev committed Feb 27, 2021
1 parent b17b890 commit 0b57b9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions @types/chess/chess.d.ts
Expand Up @@ -62,7 +62,7 @@ declare namespace Chess {
interface PlayedMove {
move: {
algebraic: string
capturedPiece: Piece?
capturedPiece: Piece
castle: boolean
enPassant: boolean
postSquare: Square
Expand All @@ -87,7 +87,7 @@ declare namespace Chess {

interface Move {
algebraic: string
capturedPiece: Piece?
capturedPiece: Piece
hashCode: string
piece: Piece
promotion: boolean
Expand All @@ -109,7 +109,7 @@ declare namespace Chess {

interface Square {
file: File
piece: Piece?
piece: Piece
rank: Rank
}

Expand Down

0 comments on commit 0b57b9b

Please sign in to comment.