rules 配置
"@typescript-eslint/ban-ts-comment": "off"
或者代码中
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
rules 配置
"@typescript-eslint/ban-ts-comment": "off"
或者代码中
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore