File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ import type { ScalarTag } from '../types.ts'
1414
1515export const MERGE_KEY : unique symbol = Symbol . for ( '<<' )
1616
17+ export type MergeKey = typeof MERGE_KEY
18+
1719export const merge : ScalarTag & {
1820 identify ( value : unknown ) : boolean
1921 test : RegExp
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export { findPair } from './nodes/YAMLMap.ts'
99export { map as mapTag } from './schema/common/map.ts'
1010export { seq as seqTag } from './schema/common/seq.ts'
1111export { string as stringTag } from './schema/common/string.ts'
12- export { isMergeKey , MERGE_KEY } from './schema/yaml-1.1/merge.ts'
12+ export { isMergeKey , MERGE_KEY , type MergeKey } from './schema/yaml-1.1/merge.ts'
1313export { foldFlowLines } from './stringify/foldFlowLines.ts'
1414export type { FoldOptions } from './stringify/foldFlowLines.ts'
1515export type { StringifyContext } from './stringify/stringify.ts'
You can’t perform that action at this time.
0 commit comments