Skip to content

Inlay hints for parameter declaration should before initializer #45999

@Kingwl

Description

@Kingwl

Bug Report

🔎 Search Terms

inlay hints, parameter, initializer

🕗 Version & Regression Information

  • This changed between versions 4.4 and nightly

💻 Code

function foo (a = false) {};

🙁 Actual behavior

image

🙂 Expected behavior

function foo (a /*hint*/ = false) {};

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Fix AvailableA PR has been opened for this issueHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions