mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-16 15:44:16 -06:00
remove multiple implements TODO
This commit is contained in:
parent
efd16c780b
commit
bba96da128
@ -25,17 +25,6 @@ namespace ts.codefix {
|
||||
pushAction(result, insertion, getLocaleSpecificMessage(Diagnostics.Implement_interface_on_class));
|
||||
}
|
||||
|
||||
// TODO: (arozga) Get this working and figure out how to test it reliably.
|
||||
/*
|
||||
// If there are multiple objects, we additionally try to generate a combined fix that simultaneously implements all types.
|
||||
const intersectionType = checker.getIntersectionType(implementedTypes);
|
||||
if(intersectionType.flags & TypeFlags.Intersection) {
|
||||
const resolvedIntersectionType = checker.resolveStructuredTypeMembers(<IntersectionType>intersectionType);
|
||||
const insertion = getMissingMembersInsertion(classDecl, resolvedIntersectionType, checker, context.newLineCharacter);
|
||||
pushAction(result, insertion, "stubbed locale message")
|
||||
}
|
||||
*/
|
||||
|
||||
return result;
|
||||
|
||||
function pushAction(result: CodeAction[], insertion: string, description: string): void {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user