We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9795fa6 commit d815effCopy full SHA for d815eff
src/compiler/binder.ts
@@ -2983,8 +2983,9 @@ namespace ts {
2983
addLateBoundAssignmentDeclarationToSymbol(node, sym);
2984
}
2985
else {
2986
- if (!isBindableStaticAccessExpression(node.left))
+ if (!isBindableStaticAccessExpression(node.left)) {
2987
return Debug.fail(`Invalid cast. The supplied value ${getTextOfNode(node.left)} was not a BindableStaticAccessExpression.`);
2988
+ }
2989
bindStaticPropertyAssignment(node.left as BindableStaticAccessExpression);
2990
2991
0 commit comments