ast-types
Advanced tools
Comparing version 0.9.2 to 0.9.3
@@ -83,3 +83,3 @@ module.exports = function (fork) { | ||
.bases("Declaration") | ||
.build("specifiers", "source") | ||
.build("specifiers", "source", "importKind") | ||
.field("specifiers", [or( | ||
@@ -90,3 +90,9 @@ def("ImportSpecifier"), | ||
)], defaults.emptyArray) | ||
.field("source", def("Literal")); | ||
.field("source", def("Literal")) | ||
.field("importKind", or( | ||
"value", | ||
"type" | ||
), function() { | ||
return "value"; | ||
}); | ||
@@ -93,0 +99,0 @@ def("Block") |
@@ -21,3 +21,3 @@ { | ||
], | ||
"version": "0.9.2", | ||
"version": "0.9.3", | ||
"homepage": "http://github.com/benjamn/ast-types", | ||
@@ -24,0 +24,0 @@ "repository": { |
155894
3555