Microsoft/TypeScript

Unable to use `@ts-ignore` in JSDoc comments.

Open

#47.392 aperta il 11 gen 2022

Vedi su GitHub
 (2 commenti) (3 reazioni) (0 assegnatari)TypeScript (6726 fork)batch import
BugDomain: JSDocHelp Wanted

Metriche repository

Star
 (48.455 star)
Metriche merge PR
 (Merge medio 6g 17h) (9 PR mergiate in 30 g)

Descrizione

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

Guida contributor