Microsoft/TypeScript

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

Ouverte

#47 392 ouverte le 11 janv. 2022

 (2 commentaires) (3 réactions) (0 personne assignée)TypeScript (13 395 forks)batch import
BugDomain: JSDocHelp Wanted

Métriques du dépôt

Stars
 (108 860 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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

Guide contributeur