Add missing assertions type (#13905)

This commit is contained in:
Sosuke Suzuki
2021-11-01 21:43:39 +09:00
committed by GitHub
parent 2d9de5f7f9
commit cba7f9e503

View File

@@ -898,6 +898,8 @@ export type ImportDeclaration = NodeBase & {
source: Literal,
importKind?: "type" | "typeof" | "value", // TODO: Not in spec
assertions?: $ReadOnlyArray<ImportAttribute>,
};
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<ImportAttribute>,
};
// JSX (TODO: Not in spec)