From 5e48e339dd4903fa4826d0af599bc59856c98569 Mon Sep 17 00:00:00 2001 From: Arthur Ozga Date: Thu, 8 Dec 2016 18:34:49 -0800 Subject: [PATCH] cleanup --- .../codefixes/fixClassDoesntImplementInheritedAbstractMember.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/codefixes/fixClassDoesntImplementInheritedAbstractMember.ts b/src/services/codefixes/fixClassDoesntImplementInheritedAbstractMember.ts index 2ce45a64bc3..cfb771e2324 100644 --- a/src/services/codefixes/fixClassDoesntImplementInheritedAbstractMember.ts +++ b/src/services/codefixes/fixClassDoesntImplementInheritedAbstractMember.ts @@ -12,7 +12,7 @@ namespace ts.codefix { const classDecl = token.parent; const startPos = classDecl.members.pos; - const InstantiatedExtendsType = checker.getTypeFromTypeReference(getClassExtendsHeritageClauseElement(classDecl)); + const InstantiatedExtendsType = checker.getTypeFromTypeReference(getClassExtendsHeritageClauseElement(classDecl)) as InterfaceType; // Note that this is ultimately derived from a map indexed by symbol names, // so duplicates cannot occur. const extendsSymbols = checker.getPropertiesOfType(InstantiatedExtendsType);