配置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回答
-
把24行的object改成any,其它的警告不要紧
00
相似问题