File tree 5 files changed +20
-0
lines changed
5 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -60434,7 +60434,9 @@ var ts;
60434
60434
if (node.kind === 241 /* VariableDeclaration */ || node.kind === 190 /* BindingElement */) {
60435
60435
checkVarDeclaredNamesNotShadowed(node);
60436
60436
}
60437
+ // eslint-disable-next-line
60437
60438
checkCollisionWithRequireExportsInGeneratedCode(node, node.name);
60439
+ // eslint-disable-next-line
60438
60440
checkCollisionWithGlobalPromiseInGeneratedCode(node, node.name);
60439
60441
}
60440
60442
}
@@ -65093,9 +65095,11 @@ var ts;
65093
65095
node.kind === 200 /* FunctionExpression */ ||
65094
65096
node.kind === 160 /* MethodDeclaration */);
65095
65097
if (node.flags & 8388608 /* Ambient */) {
65098
+ // eslint-disable-next-line
65096
65099
return grammarErrorOnNode(node.asteriskToken, ts.Diagnostics.Generators_are_not_allowed_in_an_ambient_context);
65097
65100
}
65098
65101
if (!node.body) {
65102
+ // eslint-disable-next-line
65099
65103
return grammarErrorOnNode(node.asteriskToken, ts.Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator);
65100
65104
}
65101
65105
}
Original file line number Diff line number Diff line change @@ -60584,7 +60584,9 @@ var ts;
60584
60584
if (node.kind === 241 /* VariableDeclaration */ || node.kind === 190 /* BindingElement */) {
60585
60585
checkVarDeclaredNamesNotShadowed(node);
60586
60586
}
60587
+ // eslint-disable-next-line
60587
60588
checkCollisionWithRequireExportsInGeneratedCode(node, node.name);
60589
+ // eslint-disable-next-line
60588
60590
checkCollisionWithGlobalPromiseInGeneratedCode(node, node.name);
60589
60591
}
60590
60592
}
@@ -65243,9 +65245,11 @@ var ts;
65243
65245
node.kind === 200 /* FunctionExpression */ ||
65244
65246
node.kind === 160 /* MethodDeclaration */);
65245
65247
if (node.flags & 8388608 /* Ambient */) {
65248
+ // eslint-disable-next-line
65246
65249
return grammarErrorOnNode(node.asteriskToken, ts.Diagnostics.Generators_are_not_allowed_in_an_ambient_context);
65247
65250
}
65248
65251
if (!node.body) {
65252
+ // eslint-disable-next-line
65249
65253
return grammarErrorOnNode(node.asteriskToken, ts.Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator);
65250
65254
}
65251
65255
}
Original file line number Diff line number Diff line change @@ -60573,7 +60573,9 @@ var ts;
60573
60573
if (node.kind === 241 /* VariableDeclaration */ || node.kind === 190 /* BindingElement */) {
60574
60574
checkVarDeclaredNamesNotShadowed(node);
60575
60575
}
60576
+ // eslint-disable-next-line
60576
60577
checkCollisionWithRequireExportsInGeneratedCode(node, node.name);
60578
+ // eslint-disable-next-line
60577
60579
checkCollisionWithGlobalPromiseInGeneratedCode(node, node.name);
60578
60580
}
60579
60581
}
@@ -65232,9 +65234,11 @@ var ts;
65232
65234
node.kind === 200 /* FunctionExpression */ ||
65233
65235
node.kind === 160 /* MethodDeclaration */);
65234
65236
if (node.flags & 8388608 /* Ambient */) {
65237
+ // eslint-disable-next-line
65235
65238
return grammarErrorOnNode(node.asteriskToken, ts.Diagnostics.Generators_are_not_allowed_in_an_ambient_context);
65236
65239
}
65237
65240
if (!node.body) {
65241
+ // eslint-disable-next-line
65238
65242
return grammarErrorOnNode(node.asteriskToken, ts.Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator);
65239
65243
}
65240
65244
}
Original file line number Diff line number Diff line change @@ -60573,7 +60573,9 @@ var ts;
60573
60573
if (node.kind === 241 /* VariableDeclaration */ || node.kind === 190 /* BindingElement */) {
60574
60574
checkVarDeclaredNamesNotShadowed(node);
60575
60575
}
60576
+ // eslint-disable-next-line
60576
60577
checkCollisionWithRequireExportsInGeneratedCode(node, node.name);
60578
+ // eslint-disable-next-line
60577
60579
checkCollisionWithGlobalPromiseInGeneratedCode(node, node.name);
60578
60580
}
60579
60581
}
@@ -65232,9 +65234,11 @@ var ts;
65232
65234
node.kind === 200 /* FunctionExpression */ ||
65233
65235
node.kind === 160 /* MethodDeclaration */);
65234
65236
if (node.flags & 8388608 /* Ambient */) {
65237
+ // eslint-disable-next-line
65235
65238
return grammarErrorOnNode(node.asteriskToken, ts.Diagnostics.Generators_are_not_allowed_in_an_ambient_context);
65236
65239
}
65237
65240
if (!node.body) {
65241
+ // eslint-disable-next-line
65238
65242
return grammarErrorOnNode(node.asteriskToken, ts.Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator);
65239
65243
}
65240
65244
}
Original file line number Diff line number Diff line change @@ -60423,7 +60423,9 @@ var ts;
60423
60423
if (node.kind === 241 /* VariableDeclaration */ || node.kind === 190 /* BindingElement */) {
60424
60424
checkVarDeclaredNamesNotShadowed(node);
60425
60425
}
60426
+ // eslint-disable-next-line
60426
60427
checkCollisionWithRequireExportsInGeneratedCode(node, node.name);
60428
+ // eslint-disable-next-line
60427
60429
checkCollisionWithGlobalPromiseInGeneratedCode(node, node.name);
60428
60430
}
60429
60431
}
@@ -65082,9 +65084,11 @@ var ts;
65082
65084
node.kind === 200 /* FunctionExpression */ ||
65083
65085
node.kind === 160 /* MethodDeclaration */);
65084
65086
if (node.flags & 8388608 /* Ambient */) {
65087
+ // eslint-disable-next-line
65085
65088
return grammarErrorOnNode(node.asteriskToken, ts.Diagnostics.Generators_are_not_allowed_in_an_ambient_context);
65086
65089
}
65087
65090
if (!node.body) {
65091
+ // eslint-disable-next-line
65088
65092
return grammarErrorOnNode(node.asteriskToken, ts.Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator);
65089
65093
}
65090
65094
}
You can’t perform that action at this time.
0 commit comments