File tree Expand file tree Collapse file tree 5 files changed +20
-0
lines changed
Expand file tree Collapse file tree 5 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -60434,7 +60434,9 @@ var ts;
6043460434 if (node.kind === 241 /* VariableDeclaration */ || node.kind === 190 /* BindingElement */) {
6043560435 checkVarDeclaredNamesNotShadowed(node);
6043660436 }
60437+ // eslint-disable-next-line
6043760438 checkCollisionWithRequireExportsInGeneratedCode(node, node.name);
60439+ // eslint-disable-next-line
6043860440 checkCollisionWithGlobalPromiseInGeneratedCode(node, node.name);
6043960441 }
6044060442 }
@@ -65093,9 +65095,11 @@ var ts;
6509365095 node.kind === 200 /* FunctionExpression */ ||
6509465096 node.kind === 160 /* MethodDeclaration */);
6509565097 if (node.flags & 8388608 /* Ambient */) {
65098+ // eslint-disable-next-line
6509665099 return grammarErrorOnNode(node.asteriskToken, ts.Diagnostics.Generators_are_not_allowed_in_an_ambient_context);
6509765100 }
6509865101 if (!node.body) {
65102+ // eslint-disable-next-line
6509965103 return grammarErrorOnNode(node.asteriskToken, ts.Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator);
6510065104 }
6510165105 }
Original file line number Diff line number Diff line change @@ -60584,7 +60584,9 @@ var ts;
6058460584 if (node.kind === 241 /* VariableDeclaration */ || node.kind === 190 /* BindingElement */) {
6058560585 checkVarDeclaredNamesNotShadowed(node);
6058660586 }
60587+ // eslint-disable-next-line
6058760588 checkCollisionWithRequireExportsInGeneratedCode(node, node.name);
60589+ // eslint-disable-next-line
6058860590 checkCollisionWithGlobalPromiseInGeneratedCode(node, node.name);
6058960591 }
6059060592 }
@@ -65243,9 +65245,11 @@ var ts;
6524365245 node.kind === 200 /* FunctionExpression */ ||
6524465246 node.kind === 160 /* MethodDeclaration */);
6524565247 if (node.flags & 8388608 /* Ambient */) {
65248+ // eslint-disable-next-line
6524665249 return grammarErrorOnNode(node.asteriskToken, ts.Diagnostics.Generators_are_not_allowed_in_an_ambient_context);
6524765250 }
6524865251 if (!node.body) {
65252+ // eslint-disable-next-line
6524965253 return grammarErrorOnNode(node.asteriskToken, ts.Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator);
6525065254 }
6525165255 }
Original file line number Diff line number Diff line change @@ -60573,7 +60573,9 @@ var ts;
6057360573 if (node.kind === 241 /* VariableDeclaration */ || node.kind === 190 /* BindingElement */) {
6057460574 checkVarDeclaredNamesNotShadowed(node);
6057560575 }
60576+ // eslint-disable-next-line
6057660577 checkCollisionWithRequireExportsInGeneratedCode(node, node.name);
60578+ // eslint-disable-next-line
6057760579 checkCollisionWithGlobalPromiseInGeneratedCode(node, node.name);
6057860580 }
6057960581 }
@@ -65232,9 +65234,11 @@ var ts;
6523265234 node.kind === 200 /* FunctionExpression */ ||
6523365235 node.kind === 160 /* MethodDeclaration */);
6523465236 if (node.flags & 8388608 /* Ambient */) {
65237+ // eslint-disable-next-line
6523565238 return grammarErrorOnNode(node.asteriskToken, ts.Diagnostics.Generators_are_not_allowed_in_an_ambient_context);
6523665239 }
6523765240 if (!node.body) {
65241+ // eslint-disable-next-line
6523865242 return grammarErrorOnNode(node.asteriskToken, ts.Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator);
6523965243 }
6524065244 }
Original file line number Diff line number Diff line change @@ -60573,7 +60573,9 @@ var ts;
6057360573 if (node.kind === 241 /* VariableDeclaration */ || node.kind === 190 /* BindingElement */) {
6057460574 checkVarDeclaredNamesNotShadowed(node);
6057560575 }
60576+ // eslint-disable-next-line
6057660577 checkCollisionWithRequireExportsInGeneratedCode(node, node.name);
60578+ // eslint-disable-next-line
6057760579 checkCollisionWithGlobalPromiseInGeneratedCode(node, node.name);
6057860580 }
6057960581 }
@@ -65232,9 +65234,11 @@ var ts;
6523265234 node.kind === 200 /* FunctionExpression */ ||
6523365235 node.kind === 160 /* MethodDeclaration */);
6523465236 if (node.flags & 8388608 /* Ambient */) {
65237+ // eslint-disable-next-line
6523565238 return grammarErrorOnNode(node.asteriskToken, ts.Diagnostics.Generators_are_not_allowed_in_an_ambient_context);
6523665239 }
6523765240 if (!node.body) {
65241+ // eslint-disable-next-line
6523865242 return grammarErrorOnNode(node.asteriskToken, ts.Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator);
6523965243 }
6524065244 }
Original file line number Diff line number Diff line change @@ -60423,7 +60423,9 @@ var ts;
6042360423 if (node.kind === 241 /* VariableDeclaration */ || node.kind === 190 /* BindingElement */) {
6042460424 checkVarDeclaredNamesNotShadowed(node);
6042560425 }
60426+ // eslint-disable-next-line
6042660427 checkCollisionWithRequireExportsInGeneratedCode(node, node.name);
60428+ // eslint-disable-next-line
6042760429 checkCollisionWithGlobalPromiseInGeneratedCode(node, node.name);
6042860430 }
6042960431 }
@@ -65082,9 +65084,11 @@ var ts;
6508265084 node.kind === 200 /* FunctionExpression */ ||
6508365085 node.kind === 160 /* MethodDeclaration */);
6508465086 if (node.flags & 8388608 /* Ambient */) {
65087+ // eslint-disable-next-line
6508565088 return grammarErrorOnNode(node.asteriskToken, ts.Diagnostics.Generators_are_not_allowed_in_an_ambient_context);
6508665089 }
6508765090 if (!node.body) {
65091+ // eslint-disable-next-line
6508865092 return grammarErrorOnNode(node.asteriskToken, ts.Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator);
6508965093 }
6509065094 }
You can’t perform that action at this time.
0 commit comments