We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8bf4e1 commit 0a68f37Copy full SHA for 0a68f37
src/compiler/transformers/utilities.ts
@@ -282,7 +282,8 @@ namespace ts {
282
283
export function shouldCaptureInTempVariable(expression: Expression): boolean {
284
// don't capture identifiers and `this` in a temporary variable
285
- // `super` cannot be captured as it's no real variable
+ // `super` cannot be captured as it's not a real variable
286
+
287
return !isIdentifier(expression) &&
288
expression.kind !== SyntaxKind.ThisKeyword &&
289
expression.kind !== SyntaxKind.SuperKeyword;
0 commit comments