Merge pull request #17517 from tinganho/IgnoredCatchParameter

Ignored catch parameter
This commit is contained in:
Ron Buckton authored and GitHub committed 2017-08-08 16:15:18 -07:00
commit 75c8ecb2f1
21 files changed
+204 -117

No files matched your search

+1 -2
View File
@@ -1808,7 +1808,7 @@ namespace ts {
export interface CatchClause extends Node {
kind: SyntaxKind.CatchClause;
parent?: TryStatement;
variableDeclaration: VariableDeclaration;
variableDeclaration?: VariableDeclaration;
block: Block;
}
@@ -4020,7 +4020,6 @@ namespace ts {
ContainsBindingPattern = 1 << 23,
ContainsYield = 1 << 24,
ContainsHoistedDeclarationOrCompletion = 1 << 25,
ContainsDynamicImport = 1 << 26,
// Please leave this as 1 << 29.