merge.d.ts 468 B

123456789
  1. import type { ToJSContext } from '../../nodes/toJS.js';
  2. import type { MapLike } from '../../nodes/YAMLMap.js';
  3. import type { ScalarTag } from '../types.js';
  4. export declare const merge: ScalarTag & {
  5. identify(value: unknown): boolean;
  6. test: RegExp;
  7. };
  8. export declare const isMergeKey: (ctx: ToJSContext | undefined, key: unknown) => boolean | undefined;
  9. export declare function addMergeToJSMap(ctx: ToJSContext | undefined, map: MapLike, value: unknown): void;