Skip to content

Bad formatting for codefix to change extends to implements #18794

Closed
@ghost

Description

TypeScript Version: nightly (2.6.0-dev.20170927)

See the fourslash test codeFixChangeExtendsToImplementsAbstractModifier.ts and codeFixChangeExtendsToImplementsWithDecorator.ts.

Code

abstract class A extends I1 implements I2 { }

Expected behavior:

abstract class A implements I1, I2 { }

Actual behavior:

abstract class A implements I1 , I2 { }

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions