Skip to content

Commit

Permalink
Add missing type for CST Node.rangeAsLinePos (Fixes #222)
Browse files Browse the repository at this point in the history
  • Loading branch information
eemeli committed Jan 29, 2021
1 parent 0eb1f57 commit d0428c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions parse-cst.d.ts
Expand Up @@ -51,6 +51,10 @@ export namespace CST {
readonly hasComment: boolean
readonly hasProps: boolean
readonly jsonLike: boolean
readonly rangeAsLinePos: null | {
start: { line: number; col: number }
end?: { line: number; col: number }
}
readonly rawValue: string | null
readonly tag:
| null
Expand Down

0 comments on commit d0428c2

Please sign in to comment.