ast-types
Advanced tools
Comparing version 0.8.13 to 0.8.14
@@ -328,1 +328,21 @@ require("./es7"); | ||
.field("body", def("BlockStatement")); | ||
def("DeclareExportDeclaration") | ||
.bases("Declaration") | ||
.build("default", "declaration", "specifiers", "source") | ||
.field("default", Boolean) | ||
.field("declaration", or( | ||
def("DeclareVariable"), | ||
def("DeclareFunction"), | ||
def("DeclareClass"), | ||
def("Type"), // Implies default. | ||
null | ||
)) | ||
.field("specifiers", [or( | ||
def("ExportSpecifier"), | ||
def("ExportBatchSpecifier") | ||
)], defaults.emptyArray) | ||
.field("source", or( | ||
def("Literal"), | ||
null | ||
), defaults["null"]); |
@@ -21,3 +21,3 @@ { | ||
], | ||
"version": "0.8.13", | ||
"version": "0.8.14", | ||
"homepage": "http://github.com/benjamn/ast-types", | ||
@@ -24,0 +24,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
132882
3255