UNPKG

yaml-types

Version:

Useful JavaScript types for YAML

17 lines (16 loc) 411 B
import { YAMLMap } from 'yaml'; import { ToJSContext } from 'yaml/util'; declare class YAMLNullObject extends YAMLMap { tag: string; toJSON(_: unknown, ctx: ToJSContext): any; } /** * `!nullobject` An object with a `null` prototype */ export declare const nullobject: { tag: string; collection: "map"; nodeClass: typeof YAMLNullObject; identify: (v: unknown) => boolean; }; export {};