mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
fix lint
This commit is contained in:
1 parent
9795fa6631
commit
d815effa9b
1 file changed
+2
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user