UNPKG

yaml-ast-parser

Version:

[![Build Status](https://travis-ci.org/mulesoft-labs/yaml-ast-parser.svg?branch=master)](https://travis-ci.org/mulesoft-labs/yaml-ast-parser)

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;