Add missing assertions type (#13905)
This commit is contained in:
parent
2d9de5f7f9
commit
cba7f9e503
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user