Skip to content

Commit 0261586

Browse files
author
Arthur Ozga
committed
cleanup
1 parent d878f80 commit 0261586

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/checker.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -21125,8 +21125,8 @@ namespace ts {
2112521125
// A SyntaxKind.ExpressionWithTypeArguments is considered a type node, except when it occurs in the
2112621126
// extends clause of a class. We handle that case here.
2112721127
const classNode = getContainingClass(node);
21128-
const classType = getDeclaredTypeOfSymbol(getSymbolOfNode(classNode)) as InterfaceType; classType;
21129-
const baseType = getBaseTypes(classType)[0]; baseType;
21128+
const classType = getDeclaredTypeOfSymbol(getSymbolOfNode(classNode)) as InterfaceType;
21129+
const baseType = getBaseTypes(classType)[0];
2113021130
return baseType && getTypeWithThisArgument(baseType, classType.thisType);
2113121131
}
2113221132

0 commit comments

Comments
 (0)