Skip to content

Commit 5e48e33

Browse files
author
Arthur Ozga
committed
cleanup
1 parent 819a654 commit 5e48e33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/codefixes/fixClassDoesntImplementInheritedAbstractMember.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace ts.codefix {
1212
const classDecl = <ClassDeclaration>token.parent;
1313
const startPos = classDecl.members.pos;
1414

15-
const InstantiatedExtendsType = <InterfaceType>checker.getTypeFromTypeReference(getClassExtendsHeritageClauseElement(classDecl));
15+
const InstantiatedExtendsType = checker.getTypeFromTypeReference(getClassExtendsHeritageClauseElement(classDecl)) as InterfaceType;
1616
// Note that this is ultimately derived from a map indexed by symbol names,
1717
// so duplicates cannot occur.
1818
const extendsSymbols = checker.getPropertiesOfType(InstantiatedExtendsType);

0 commit comments

Comments
 (0)