mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
cleanup
This commit is contained in:
1 parent
819a654bb3
commit
5e48e339dd
1 file changed
+1
-1
@@ -12,7 +12,7 @@ namespace ts.codefix {
|
||||
const classDecl = <ClassDeclaration>token.parent;
|
||||
const startPos = classDecl.members.pos;
|
||||
|
||||
const InstantiatedExtendsType = <InterfaceType>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);
|
||||
|
||||
Reference in new issue
Block a user