ast-types 0.13.0 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/def/typescript.js CHANGED
@@ -55,7 +55,7 @@ function default_1(fork) {
55
55
  .field("right", TSEntityName);
56
56
  def("TSAsExpression")
57
57
  .bases("Expression", "Pattern")
58
- .build("expression")
58
+ .build("expression", "typeAnnotation")
59
59
  .field("expression", def("Expression"))
60
60
  .field("typeAnnotation", def("TSType"))
61
61
  .field("extra", or({ parenthesized: Boolean }, null), defaults["null"]);
package/gen/builders.d.ts CHANGED
@@ -1785,7 +1785,7 @@ export interface TSTypeReferenceBuilder {
1785
1785
  }): namedTypes.TSTypeReference;
1786
1786
  }
1787
1787
  export interface TSAsExpressionBuilder {
1788
- (expression: K.ExpressionKind): namedTypes.TSAsExpression;
1788
+ (expression: K.ExpressionKind, typeAnnotation: K.TSTypeKind): namedTypes.TSAsExpression;
1789
1789
  from(params: {
1790
1790
  comments?: K.CommentKind[] | null;
1791
1791
  expression: K.ExpressionKind;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Ben Newman <bn@cs.stanford.edu>",
3
3
  "name": "ast-types",
4
- "version": "0.13.0",
4
+ "version": "0.13.1",
5
5
  "description": "Esprima-compatible implementation of the Mozilla JS Parser API",
6
6
  "keywords": [
7
7
  "ast",