Skip to content

Review preserving internal trivia in code fixes #23373

Open
@ghost

Description

TypeScript Version: master

Code

exports.x = () /*comment*/ => f;

Run code fix to convert to an ES6 module.

Expected behavior:

export function x() /*comment*/ { return f; }

Actual behavior:

export function x() { return f; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: Quick FixesEditor-provided fixes, often called code actions.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions