Skip to content

Commit 207b7b0

Browse files
author
Arthur Ozga
committed
Merge branch 'ImplementMissingThis' of github.com:aozgaa/TypeScript into ImplementMissingThis
2 parents 5bcbd7a + fbccb62 commit 207b7b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/codefixes/fixClassIncorrectlyImplementsInterface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ namespace ts.codefix {
2525

2626
const result: CodeAction[] = [];
2727
for (const implementedTypeNode of implementedTypeNodes) {
28-
const implementedType = checker.getTypeAtLocation(implementedTypeNode) as InterfaceType;
2928
// Note that this is ultimately derived from a map indexed by symbol names,
3029
// so duplicates cannot occur.
30+
const implementedType = checker.getTypeAtLocation(implementedTypeNode) as InterfaceType;
3131
const implementedTypeSymbols = checker.getPropertiesOfType(implementedType);
3232
const nonPrivateMembers = implementedTypeSymbols.filter(symbol => !(getModifierFlags(symbol.valueDeclaration) & ModifierFlags.Private));
3333

0 commit comments

Comments
 (0)