mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
fix lint
This commit is contained in:
@@ -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