Skip to content

Commit 5712d3a

Browse files
authored
fix(flow.ts): add importKind field to ImportSpecifier
1 parent f1c8ff5 commit 5712d3a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

def/flow.ts

+3
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,9 @@ export default function (fork: Fork) {
404404

405405
def("ImportDeclaration")
406406
.field("importKind", or("value", "type", "typeof"), () => "value");
407+
408+
def("ImportSpecifier")
409+
.field("importKind", or("value", "type", "typeof"), defaults["null"]);
407410

408411
def("FlowPredicate").bases("Flow");
409412

0 commit comments

Comments
 (0)