Assignment5_new/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts

10 lines
459 B
TypeScript
Raw Normal View History

2025-01-07 05:14:59 +00:00
import type { ToJSContext } from '../../nodes/toJS';
import type { MapLike } from '../../nodes/YAMLMap';
import type { ScalarTag } from '../types';
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;