From d815effa9bea8bcf9a3de6694456cbfd9f3736b1 Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Date: Thu, 30 Apr 2020 10:28:49 -0700 Subject: [PATCH] fix lint --- src/compiler/binder.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compiler/binder.ts b/src/compiler/binder.ts index 72516cc0739..8a79a57b464 100644 --- a/src/compiler/binder.ts +++ b/src/compiler/binder.ts @@ -2983,8 +2983,9 @@ namespace ts { addLateBoundAssignmentDeclarationToSymbol(node, sym); } else { - if (!isBindableStaticAccessExpression(node.left)) + if (!isBindableStaticAccessExpression(node.left)) { return Debug.fail(`Invalid cast. The supplied value ${getTextOfNode(node.left)} was not a BindableStaticAccessExpression.`); + } bindStaticPropertyAssignment(node.left as BindableStaticAccessExpression); } }