UNPKG

yaml-unist-parser

Version:

A YAML parser that produces output compatible with unist

5 lines (4 loc) 273 B
import { Context } from "../transform.js"; import { Comment, Content } from "../types.js"; import * as YAML from "../yaml.js"; export declare function transformContent(node: YAML.ast.Node, context: Context, isNotMiddleComment?: (comment: Comment) => boolean): Content;