UNPKG

@felisdiligens/md-table-tools

Version:

MultiMarkdown table tools

14 lines (11 loc) 307 B
import { Table } from "./table.js"; export class ParsingError extends Error { constructor(msg: string) { super(msg); // Set the prototype explicitly. Object.setPrototypeOf(this, ParsingError.prototype); } } export interface TableParser { parse(table: string): Table; }