mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-07-02 14:48:32 -05:00
Initialize instead of letting the value be potentially undefined.
This commit is contained in:
@@ -838,7 +838,7 @@ namespace ts {
|
||||
startLexicalEnvironment();
|
||||
|
||||
let statementOffset = -1;
|
||||
let thisCaptureStatus: SuperCaptureResult | undefined;
|
||||
let thisCaptureStatus = SuperCaptureResult.NoReplacement;
|
||||
if (hasSynthesizedSuper) {
|
||||
// If a super call has already been synthesized,
|
||||
// we're going to assume that we should just transform everything after that.
|
||||
|
||||
Reference in New Issue
Block a user