Skip to content

Commit

Permalink
chore: update babel-types
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Oct 28, 2021
1 parent 0d55e83 commit 2886a6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/babel-types/src/ast-types/generated/index.ts
Expand Up @@ -2095,7 +2095,8 @@ export type Standardized =
| ClassProperty
| ClassPrivateProperty
| ClassPrivateMethod
| PrivateName;
| PrivateName
| StaticBlock;
export type Expression =
| ArrayExpression
| AssignmentExpression
Expand Down
1 change: 1 addition & 0 deletions packages/babel-types/src/validators/generated/index.ts
Expand Up @@ -4280,6 +4280,7 @@ export function isStandardized(
"ClassPrivateProperty" === nodeType ||
"ClassPrivateMethod" === nodeType ||
"PrivateName" === nodeType ||
"StaticBlock" === nodeType ||
(nodeType === "Placeholder" &&
("Identifier" === (node as t.Placeholder).expectedNode ||
"StringLiteral" === (node as t.Placeholder).expectedNode ||
Expand Down

0 comments on commit 2886a6e

Please sign in to comment.