Skip to content

Commit

Permalink
fix(types): add missing range for BaseNode (#13046)
Browse files Browse the repository at this point in the history
close #13027
  • Loading branch information
JounQin committed Mar 24, 2021
1 parent 6ee87ee commit 238ce0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/babel-types/scripts/generators/ast-types.js
Expand Up @@ -43,6 +43,7 @@ interface BaseNode {
end: number | null;
loc: SourceLocation | null;
type: Node["type"];
range?: [number, number];
extra?: Record<string, unknown>;
}
Expand Down
1 change: 1 addition & 0 deletions packages/babel-types/src/ast-types/generated/index.ts
Expand Up @@ -39,6 +39,7 @@ interface BaseNode {
end: number | null;
loc: SourceLocation | null;
type: Node["type"];
range?: [number, number];
extra?: Record<string, unknown>;
}

Expand Down

0 comments on commit 238ce0b

Please sign in to comment.