We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5bcbd7a + fbccb62 commit 207b7b0Copy full SHA for 207b7b0
src/services/codefixes/fixClassIncorrectlyImplementsInterface.ts
@@ -25,9 +25,9 @@ namespace ts.codefix {
25
26
const result: CodeAction[] = [];
27
for (const implementedTypeNode of implementedTypeNodes) {
28
- const implementedType = checker.getTypeAtLocation(implementedTypeNode) as InterfaceType;
29
// Note that this is ultimately derived from a map indexed by symbol names,
30
// so duplicates cannot occur.
+ const implementedType = checker.getTypeAtLocation(implementedTypeNode) as InterfaceType;
31
const implementedTypeSymbols = checker.getPropertiesOfType(implementedType);
32
const nonPrivateMembers = implementedTypeSymbols.filter(symbol => !(getModifierFlags(symbol.valueDeclaration) & ModifierFlags.Private));
33
0 commit comments