From 8d6f004aca8766b6bd00fcb00217271914845025 Mon Sep 17 00:00:00 2001 From: Andrew Branch Date: Mon, 9 Mar 2020 13:46:03 -0800 Subject: [PATCH] Fix lint error? (#37305) --- src/compiler/binder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/binder.ts b/src/compiler/binder.ts index fab71640699..edfd1ea0c22 100644 --- a/src/compiler/binder.ts +++ b/src/compiler/binder.ts @@ -3235,7 +3235,7 @@ namespace ts { // If this is a property-parameter, then also declare the property symbol into the // containing class. if (isParameterPropertyDeclaration(node, node.parent)) { - const classDeclaration = node.parent.parent; + const classDeclaration = node.parent.parent; declareSymbol(classDeclaration.symbol.members!, classDeclaration.symbol, node, SymbolFlags.Property | (node.questionToken ? SymbolFlags.Optional : SymbolFlags.None), SymbolFlags.PropertyExcludes); } }