We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d62245 commit 5ed5e5fCopy full SHA for 5ed5e5f
1 file changed
src/compiler/types.ts
@@ -651,7 +651,7 @@
651
652
export interface VariableDeclaration extends Declaration {
653
kind: SyntaxKind.VariableDeclaration;
654
- parent?: VariableDeclarationList;
+ parent?: VariableDeclarationList | CatchClause;
655
name: BindingName; // Declared variable name
656
type?: TypeNode; // Optional type annotation
657
initializer?: Expression; // Optional initializer
0 commit comments