ast-types
Advanced tools
Comparing version 0.5.3 to 0.5.4
@@ -112,3 +112,3 @@ require("./core"); | ||
.bases("Pattern") | ||
.build("annotatedType", "templateTypes", "paramTypes", "returnType", | ||
.build("annotatedType", "templateTypes", "paramTypes", "returnType", | ||
"unionType", "nullable") | ||
@@ -121,1 +121,10 @@ .field("annotatedType", def("Identifier")) | ||
.field("nullable", isBoolean); | ||
def("Identifier") | ||
.field("annotation", or(def("TypeAnnotation"), null), defaults['null']); | ||
def("Function") | ||
.field("returnType", or(def("TypeAnnotation"), null), defaults['null']); | ||
def("ClassProperty") | ||
.field("id", or(def("Identifier"), def("TypeAnnotatedIdentifier"))); |
@@ -21,3 +21,3 @@ { | ||
], | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"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
107526
2517