Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review preserving internal trivia in code fixes #23373

Open
ghost opened this issue Apr 12, 2018 · 0 comments
Open

Review preserving internal trivia in code fixes #23373

ghost opened this issue Apr 12, 2018 · 0 comments
Labels
Bug A bug in TypeScript Domain: Quick Fixes Editor-provided fixes, often called code actions.
Milestone

Comments

@ghost
Copy link

ghost commented Apr 12, 2018

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; }
@ghost ghost added the Domain: Quick Fixes Editor-provided fixes, often called code actions. label Apr 12, 2018
@mhegazy mhegazy added the Bug A bug in TypeScript label Apr 12, 2018
@mhegazy mhegazy assigned ghost Apr 12, 2018
@mhegazy mhegazy added this to the TypeScript 2.9 milestone Apr 12, 2018
@ghost ghost modified the milestones: TypeScript 2.9, Future May 2, 2018
@RyanCavanaugh RyanCavanaugh unassigned ghost Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Domain: Quick Fixes Editor-provided fixes, often called code actions.
Projects
None yet
Development

No branches or pull requests

1 participant