UNPKG

yaml-unist-parser

Version:

A YAML parser that produces output compatible with unist

14 lines (13 loc) 390 B
import { Position } from "./types.mjs"; import { Context } from "./transforms/context.mjs"; import * as YAML from "yaml"; //#region src/yaml-syntax-error.d.ts declare class YAMLSyntaxError extends SyntaxError { name: string; code: YAML.ErrorCode; source: string; position: Position; constructor(context: Context, error: YAML.YAMLError); } //#endregion export { YAMLSyntaxError };