mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-24 04:30:53 -06:00
cleanup
This commit is contained in:
parent
819a654bb3
commit
5e48e339dd
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user