From 5712d3adc2a7283fb839e632ade2d8c7dc11caba Mon Sep 17 00:00:00 2001 From: Andy Edwards Date: Tue, 30 Aug 2022 09:53:57 -0500 Subject: [PATCH] fix(flow.ts): add importKind field to ImportSpecifier --- def/flow.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/def/flow.ts b/def/flow.ts index 7df97cf8..c6631c43 100644 --- a/def/flow.ts +++ b/def/flow.ts @@ -404,6 +404,9 @@ export default function (fork: Fork) { def("ImportDeclaration") .field("importKind", or("value", "type", "typeof"), () => "value"); + + def("ImportSpecifier") + .field("importKind", or("value", "type", "typeof"), defaults["null"]); def("FlowPredicate").bases("Flow");