Skip to content

Commit

Permalink
fix(flow.ts): add importKind field to ImportSpecifier
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards1211 authored Aug 30, 2022
1 parent f1c8ff5 commit 5712d3a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions def/flow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit 5712d3a

Please sign in to comment.