新建项目初次运行 lint 会在 src/pages/TableList/index.tsx:119:7 处有 ts 报错:Object literal may only specify known properties, and 'tip' does not exist in type 'ProColumns',经过查看,ProColumns上确实没有 tip 属性,而是 tooltip,如下图所示。(类型文件地址:node_modules/@ant-design/pro-table/es/typing.d.ts)
🐛 bug 描述
新建项目初次运行 lint 会在 src/pages/TableList/index.tsx:119:7 处有 ts 报错:Object literal may only specify known properties, and 'tip' does not exist in type 'ProColumns',经过查看,ProColumns上确实没有 tip 属性,而是 tooltip,如下图所示。(类型文件地址:node_modules/@ant-design/pro-table/es/typing.d.ts)
📷 复现步骤 | Recurrence steps
通过 cli 正常创建一个 umi4 项目,运行 lint
🏞 期望结果 | Expected results
初始化的项目没有 ts 报错
© 版本信息
🚑 其他信息