Skip to content

Commit 3da1a53

Browse files
Amend comment about explicitly setting catch clause variables to 'undefined'.
1 parent 4f3e13a commit 3da1a53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/compiler/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4784,7 +4784,7 @@ namespace ts {
47844784
parseExpected(SyntaxKind.CloseParenToken);
47854785
}
47864786
else {
4787-
// Keep shape of node to not avoid degrading performance.
4787+
// Keep shape of node to avoid degrading performance.
47884788
result.variableDeclaration = undefined;
47894789
}
47904790

0 commit comments

Comments
 (0)