类型“{ class: string; }”的参数不能赋给类型“ComponentPublicInstanceConstructor<CreateComponentPublicInstance<Readonly<Partial<{ hoverClass: string; hoverStopPropagation: boolean; hoverStartTime: number; hoverStayTime: number; }>>, {}, {}, ComputedOptions, ... 15 more ..., {}>, ... 4 more ..., MethodOptions> & ... 4 more ... & Record<...>”的参数。
不能将类型“{ class: string; }”分配给类型“ComponentPublicInstanceConstructor<CreateComponentPublicInstance<Readonly<Partial<{ hoverClass: string; hoverStopPropagation: boolean; hoverStartTime: number; hoverStayTime: number; }>>, {}, {}, ComputedOptions, ... 15 more ..., {}>, ... 4 more ..., MethodOptions>”。
类型“{ class: string; }”提供的内容与签名“new (...args: any[]): CreateComponentPublicInstance<Readonly<Partial<{ hoverClass: string; hoverStopPropagation: boolean; hoverStartTime: number; hoverStayTime: number; }>>, {}, {}, ComputedOptions, ... 15 more ..., {}>”不匹配。
2***@qq.com
- 发布:2024-08-27 09:42
- 更新:2024-08-27 10:00
- 阅读:385
2***@qq.com (作者)
好的谢谢你
2024-08-27 10:43