Skip to content

Quickfix to prefix unused arrow function parameter opens new file #18275

Closed
@ghost

Description

TypeScript Version: nightly (typescript@2.6.0-dev.20170906)

Code

const f = x => 1;

Apply the quickfix to prefix 'x' with an underscore.

Expected behavior:

Edit the current file.

Actual behavior:

Opens a new file:
shot5

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

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions