mliebelt/pgn-parser

Export SytntaxError as type to allow usage in Typescript

mliebelt opened this issue · 0 comments

Previously, SyntaxError could be a result of parsing PGN, but was not defined as type. That leads to strange error messages when using the parser in Typescript.