配置tool.ts之后报错

来源:7-4 分类表格显示优化

weixin_慕莱坞7121976

2024-04-25

配置tool.ts之后报错
24:28 error Don’t use object as a type. The object type is currently hard to use (see this issue).
Consider using Record<string, unknown> instead, as it allows you to more easily inspect and use the keys @typescript-eslint/ban-types

图片描述

写回答

1回答

甲蛙

2024-04-28

把24行的object改成any,其它的警告不要紧

0
0

Spring Boot+Vue3前后端分离,实战wiki知识库系统

一课掌握前后端最火框架,更有职场竞争力

2545 学习 · 1675 问题

查看课程