Microsoft/TypeScript

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

Open

#47,392 创建于 2022年1月11日

在 GitHub 查看
 (2 评论) (3 反应) (0 负责人)TypeScript (6,726 fork)batch import
BugDomain: JSDocHelp Wanted

仓库指标

Star
 (48,455 star)
PR 合并指标
 (平均合并 6天 17小时) (30 天内合并 9 个 PR)

描述

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

贡献者指南