Skip to content

Unable to use @ts-ignore in JSDoc comments.Β #47392

@jespertheend

Description

@jespertheend

Bug Report

πŸ”Ž Search Terms

ts-ignore jsdoc

πŸ•— Version & Regression Information

  • This changed between versions 3.8.3 and 3.9.7

⏯ Playground Link

-->
Playground link with relevant code

πŸ’» Code

/**
// @ts-ignore
 * @param {number} x
 */
function foo() {

}

πŸ™ Actual behavior

The error is not ignored

πŸ™‚ Expected behavior

The error is ignored

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions