Skip to content

QuickFix for unused paramter errors should also offer renaming the paramter to start with _ #14420

@mhegazy

Description

@mhegazy
function f (a) {
    console.log(JSON.stringify(arguments));
}

Should be turned to:

function f (_a) {
    console.log(JSON.stringify(arguments));
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: Quick FixesEditor-provided fixes, often called code actions.FixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions