mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-14 19:16:17 -06:00
Add missing semicolon
This commit is contained in:
parent
bf89530e36
commit
bd12f1b913
@ -7200,7 +7200,7 @@ namespace ts {
|
||||
function narrowType(type: Type, expr: Expression, assumeTrue: boolean): Type {
|
||||
switch (expr.kind) {
|
||||
case SyntaxKind.Identifier:
|
||||
return narrowTypeByTruthiness(type, <Identifier>expr, assumeTrue)
|
||||
return narrowTypeByTruthiness(type, <Identifier>expr, assumeTrue);
|
||||
case SyntaxKind.CallExpression:
|
||||
return narrowTypeByTypePredicate(type, <CallExpression>expr, assumeTrue);
|
||||
case SyntaxKind.ParenthesizedExpression:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user