UNPKG

yaml-ast-parser-custom-tags

Version:

This is a custom maintained fork specifically for the YAML Language server.

10 lines (9 loc) 300 B
import ast = require("../src/yamlAST"); export interface TestError { message: string; line: number; column: number; isWarning: boolean; } export declare function testErrors(input: string, expectedErrors: TestError[]): void; export declare function safeLoad(input: any): ast.YAMLNode;