UNPKG

fentastic

Version:

Validate and parse Forsyth-Edwards Notation (FEN) used to describe a chess game board position.

12 lines (11 loc) 362 B
declare type subject = 'value' | 'count'; export declare class ParseError { message: string; index: number; constructor(prefix: string, found: string | number, index: number, pattern?: string, description?: string, subject?: subject); } export declare class ParseErrors { errors: ParseError[]; constructor(errors: ParseError[]); } export {};