diff --git a/packages/babel-parser/src/types.js b/packages/babel-parser/src/types.js index 5362caf18d..de30758084 100644 --- a/packages/babel-parser/src/types.js +++ b/packages/babel-parser/src/types.js @@ -898,6 +898,8 @@ export type ImportDeclaration = NodeBase & { source: Literal, importKind?: "type" | "typeof" | "value", // TODO: Not in spec + + assertions?: $ReadOnlyArray, }; export type ImportSpecifier = ModuleSpecifier & { @@ -952,6 +954,7 @@ export type ExportAllDeclaration = NodeBase & { type: "ExportAllDeclaration", source: Literal, exportKind?: "type" | "value", // TODO: Not in spec + assertions?: $ReadOnlyArray, }; // JSX (TODO: Not in spec)