fix(types): add missing range for BaseNode (#13046)

close #13027
This commit is contained in:
JounQin
2021-03-24 21:02:52 +08:00
committed by GitHub
parent 6ee87eea49
commit 238ce0bac8
2 changed files with 2 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ interface BaseNode {
end: number | null;
loc: SourceLocation | null;
type: Node["type"];
range?: [number, number];
extra?: Record<string, unknown>;
}