Skip to content

"Implement interface" codefix missing newline after first member #36171

@rbuckton

Description

@rbuckton

TypeScript Version: 3.7.3

Search Terms: implement interface codefix

Code

The "Implement interface" codefix fails to add a newline character after the first newly-added member when the class body is split across multiple lines:

image

Actual behavior:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    DuplicateAn existing issue was already created

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions