Skip to content

Commit

Permalink
feat: Use TS named tuple for range (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
golergka committed Apr 26, 2022
1 parent 632c308 commit 3ed008a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nodes/Node.ts
Expand Up @@ -28,7 +28,7 @@ export type ParsedNode =
| YAMLMap.Parsed
| YAMLSeq.Parsed

export type Range = [number, number, number]
export type Range = [start: number, valueEnd: number, nodeEnd: number]

export const ALIAS = Symbol.for('yaml.alias')
export const DOC = Symbol.for('yaml.document')
Expand Down

0 comments on commit 3ed008a

Please sign in to comment.