Skip to content

升级vs code volar插件到1.4.1版本后,所有组件都会报类型错误 #6493

@yyqxjwxy

Description

@yyqxjwxy

希望官方看一下这个问题,以下是modal组件的类型报错

类型“{ width: number; title: string; visible: boolean; destroyOnClose: true; }”的参数不能赋给类型“App & Partial<{ visible: boolean; mask: boolean; closable: boolean; forceRender: boolean; getContainer: string | false | HTMLElement | (() => HTMLElement); ... 7 more ...; confirmLoading: boolean; }> & Omit<...> & Record<...>”的参数。
类型“{ width: number; title: string; visible: boolean; destroyOnClose: true; }”缺少类型“App”的以下属性: version, config, use, mixin 及其他 11 项。ts(2345)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions