Microsoft/TypeScript

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

Open

#47.392 aberto em 11 de jan. de 2022

Ver no GitHub
 (2 comments) (3 reactions) (0 assignees)TypeScript (6.726 forks)batch import
BugDomain: JSDocHelp Wanted

Métricas do repositório

Stars
 (48.455 stars)
Métricas de merge de PR
 (Mesclagem média 6d 17h) (9 fundiu PRs em 30d)

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

Guia do colaborador