diff --git a/test/fixtures/flow/literal-types/string-double/expected.json b/test/fixtures/flow/literal-types/string-double/expected.json index 97893a5689..010fa630f4 100644 --- a/test/fixtures/flow/literal-types/string-double/expected.json +++ b/test/fixtures/flow/literal-types/string-double/expected.json @@ -116,6 +116,7 @@ } } ], + "predicate": null, "returnType": { "type": "TypeAnnotation", "start": 38, @@ -164,7 +165,6 @@ } } }, - "predicate": null, "body": { "type": "BlockStatement", "start": 55, diff --git a/test/fixtures/flow/literal-types/string-single/expected.json b/test/fixtures/flow/literal-types/string-single/expected.json index bbdf5f7e6c..bd14fc10ac 100644 --- a/test/fixtures/flow/literal-types/string-single/expected.json +++ b/test/fixtures/flow/literal-types/string-single/expected.json @@ -116,6 +116,7 @@ } } ], + "predicate": null, "returnType": { "type": "TypeAnnotation", "start": 38, @@ -164,7 +165,6 @@ } } }, - "predicate": null, "body": { "type": "BlockStatement", "start": 55, diff --git a/test/fixtures/flow/type-annotations/100/expected.json b/test/fixtures/flow/type-annotations/100/expected.json index dee215f26f..a0e6a89d2c 100644 --- a/test/fixtures/flow/type-annotations/100/expected.json +++ b/test/fixtures/flow/type-annotations/100/expected.json @@ -114,6 +114,7 @@ "expression": false, "async": false, "params": [], + "predicate": null, "returnType": { "type": "TypeAnnotation", "start": 17, @@ -145,7 +146,6 @@ "value": true } }, - "predicate": null, "body": { "type": "BlockStatement", "start": 23, diff --git a/test/fixtures/flow/type-annotations/12/expected.json b/test/fixtures/flow/type-annotations/12/expected.json index 8643321a36..22f2c3c9df 100644 --- a/test/fixtures/flow/type-annotations/12/expected.json +++ b/test/fixtures/flow/type-annotations/12/expected.json @@ -63,6 +63,7 @@ "expression": false, "async": false, "params": [], + "predicate": null, "returnType": { "type": "TypeAnnotation", "start": 14, @@ -93,7 +94,6 @@ } } }, - "predicate": null, "body": { "type": "BlockStatement", "start": 21, diff --git a/test/fixtures/flow/type-annotations/13/expected.json b/test/fixtures/flow/type-annotations/13/expected.json index 79007cd2cd..3a78824d22 100644 --- a/test/fixtures/flow/type-annotations/13/expected.json +++ b/test/fixtures/flow/type-annotations/13/expected.json @@ -63,6 +63,7 @@ "expression": false, "async": false, "params": [], + "predicate": null, "returnType": { "type": "TypeAnnotation", "start": 14, @@ -111,7 +112,6 @@ "typeParameters": null } }, - "predicate": null, "body": { "type": "BlockStatement", "start": 25, diff --git a/test/fixtures/flow/type-annotations/130/expected.json b/test/fixtures/flow/type-annotations/130/expected.json index 8fd8731f5c..15ad52dcb9 100644 --- a/test/fixtures/flow/type-annotations/130/expected.json +++ b/test/fixtures/flow/type-annotations/130/expected.json @@ -242,6 +242,7 @@ } } ], + "predicate": null, "returnType": { "type": "TypeAnnotation", "start": 34, @@ -272,7 +273,6 @@ } } }, - "predicate": null, "body": { "type": "BlockStatement", "start": 43, diff --git a/test/fixtures/flow/type-annotations/14/expected.json b/test/fixtures/flow/type-annotations/14/expected.json index 9368eb0561..807aa5b5a4 100644 --- a/test/fixtures/flow/type-annotations/14/expected.json +++ b/test/fixtures/flow/type-annotations/14/expected.json @@ -63,6 +63,7 @@ "expression": false, "async": false, "params": [], + "predicate": null, "returnType": { "type": "TypeAnnotation", "start": 14, @@ -160,7 +161,6 @@ "typeParameters": null } }, - "predicate": null, "body": { "type": "BlockStatement", "start": 33, diff --git a/test/fixtures/flow/type-annotations/15/expected.json b/test/fixtures/flow/type-annotations/15/expected.json index 3e0cbfc4ee..9d52a5cde3 100644 --- a/test/fixtures/flow/type-annotations/15/expected.json +++ b/test/fixtures/flow/type-annotations/15/expected.json @@ -63,6 +63,7 @@ "expression": false, "async": false, "params": [], + "predicate": null, "returnType": { "type": "TypeAnnotation", "start": 14, @@ -160,7 +161,6 @@ "typeParameters": null } }, - "predicate": null, "body": { "type": "BlockStatement", "start": 34, diff --git a/test/fixtures/flow/type-annotations/16/expected.json b/test/fixtures/flow/type-annotations/16/expected.json index 16a7f500d7..51bc95587f 100644 --- a/test/fixtures/flow/type-annotations/16/expected.json +++ b/test/fixtures/flow/type-annotations/16/expected.json @@ -63,6 +63,7 @@ "expression": false, "async": false, "params": [], + "predicate": null, "returnType": { "type": "TypeAnnotation", "start": 14, @@ -97,7 +98,6 @@ "exact": false } }, - "predicate": null, "body": { "type": "BlockStatement", "start": 19, diff --git a/test/fixtures/flow/type-annotations/21/expected.json b/test/fixtures/flow/type-annotations/21/expected.json index 11ac28aa29..c5d4df45b5 100644 --- a/test/fixtures/flow/type-annotations/21/expected.json +++ b/test/fixtures/flow/type-annotations/21/expected.json @@ -178,6 +178,7 @@ } } ], + "predicate": null, "returnType": { "type": "TypeAnnotation", "start": 28, @@ -208,7 +209,6 @@ } } }, - "predicate": null, "body": { "type": "BlockStatement", "start": 33, diff --git a/test/fixtures/flow/type-annotations/22/expected.json b/test/fixtures/flow/type-annotations/22/expected.json index 7e408c0077..3cbd6273d8 100644 --- a/test/fixtures/flow/type-annotations/22/expected.json +++ b/test/fixtures/flow/type-annotations/22/expected.json @@ -130,6 +130,7 @@ "expression": false, "async": false, "params": [], + "predicate": null, "returnType": { "type": "TypeAnnotation", "start": 16, @@ -160,7 +161,6 @@ } } }, - "predicate": null, "body": { "type": "BlockStatement", "start": 23, diff --git a/test/fixtures/flow/type-annotations/23/expected.json b/test/fixtures/flow/type-annotations/23/expected.json index a0d584a412..05b77ef383 100644 --- a/test/fixtures/flow/type-annotations/23/expected.json +++ b/test/fixtures/flow/type-annotations/23/expected.json @@ -195,6 +195,7 @@ } } ], + "predicate": null, "returnType": { "type": "TypeAnnotation", "start": 14, @@ -243,7 +244,6 @@ } } }, - "predicate": null, "body": { "type": "BlockStatement", "start": 18, diff --git a/test/fixtures/flow/type-annotations/24/expected.json b/test/fixtures/flow/type-annotations/24/expected.json index bef2f718ee..ffb6d1e92c 100644 --- a/test/fixtures/flow/type-annotations/24/expected.json +++ b/test/fixtures/flow/type-annotations/24/expected.json @@ -195,6 +195,7 @@ } } ], + "predicate": null, "returnType": { "type": "TypeAnnotation", "start": 15, @@ -243,7 +244,6 @@ } } }, - "predicate": null, "body": { "type": "BlockStatement", "start": 19, diff --git a/test/fixtures/flow/type-annotations/25/expected.json b/test/fixtures/flow/type-annotations/25/expected.json index 17b2ed9260..cdf03fcf78 100644 --- a/test/fixtures/flow/type-annotations/25/expected.json +++ b/test/fixtures/flow/type-annotations/25/expected.json @@ -195,6 +195,7 @@ } } ], + "predicate": null, "returnType": { "type": "TypeAnnotation", "start": 20, @@ -243,7 +244,6 @@ } } }, - "predicate": null, "body": { "type": "BlockStatement", "start": 24, diff --git a/test/fixtures/flow/type-annotations/26/expected.json b/test/fixtures/flow/type-annotations/26/expected.json index 3a317643db..9a5cf1d754 100644 --- a/test/fixtures/flow/type-annotations/26/expected.json +++ b/test/fixtures/flow/type-annotations/26/expected.json @@ -198,6 +198,7 @@ } } ], + "predicate": null, "returnType": { "type": "TypeAnnotation", "start": 15, @@ -246,7 +247,6 @@ } } }, - "predicate": null, "body": { "type": "BlockStatement", "start": 19, diff --git a/test/fixtures/flow/type-annotations/28/expected.json b/test/fixtures/flow/type-annotations/28/expected.json index c67f48e7ca..4dc6a8495b 100644 --- a/test/fixtures/flow/type-annotations/28/expected.json +++ b/test/fixtures/flow/type-annotations/28/expected.json @@ -162,6 +162,7 @@ } } ], + "predicate": null, "returnType": { "type": "TypeAnnotation", "start": 36, @@ -192,7 +193,6 @@ } } }, - "predicate": null, "body": { "type": "BlockStatement", "start": 41, diff --git a/test/fixtures/flow/type-annotations/29/expected.json b/test/fixtures/flow/type-annotations/29/expected.json index 47b047f5d5..14dda0a969 100644 --- a/test/fixtures/flow/type-annotations/29/expected.json +++ b/test/fixtures/flow/type-annotations/29/expected.json @@ -114,6 +114,7 @@ "expression": false, "async": false, "params": [], + "predicate": null, "returnType": { "type": "TypeAnnotation", "start": 24, @@ -144,7 +145,6 @@ } } }, - "predicate": null, "body": { "type": "BlockStatement", "start": 31, diff --git a/test/fixtures/flow/type-annotations/50/expected.json b/test/fixtures/flow/type-annotations/50/expected.json index 8ca1334648..2682c49d27 100644 --- a/test/fixtures/flow/type-annotations/50/expected.json +++ b/test/fixtures/flow/type-annotations/50/expected.json @@ -182,6 +182,7 @@ "expression": false, "async": false, "params": [], + "predicate": null, "returnType": { "type": "TypeAnnotation", "start": 23, @@ -212,7 +213,6 @@ } } }, - "predicate": null, "body": { "type": "BlockStatement", "start": 31,