UNPKG

jc-marked

Version:

Markdown AST (Abstract syntax tree) parser based on finite-state machine (FSM).

10 lines (9 loc) 341 B
declare class _ValueError extends Error { constructor(message: string); } declare class _InputError extends Error { constructor(except: string, but: string); } declare function ValueError(message: string): _ValueError; declare function InputTypeError(except: string, but: string): _InputError; export { ValueError, InputTypeError };