Laptop-Thing/web/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts

10 lines
468 B
TypeScript
Raw Normal View History

2024-11-27 12:35:48 -05:00
import type { ToJSContext } from '../../nodes/toJS.js';
import type { MapLike } from '../../nodes/YAMLMap.js';
import type { ScalarTag } from '../types.js';
export declare const merge: ScalarTag & {
identify(value: unknown): boolean;
test: RegExp;
};
export declare const isMergeKey: (ctx: ToJSContext | undefined, key: unknown) => boolean | undefined;
export declare function addMergeToJSMap(ctx: ToJSContext | undefined, map: MapLike, value: unknown): void;