Skip to content

Modal.destroyAll missing from modal.d.ts #1990

@sdbrannum

Description

@sdbrannum
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.5.0

Environment

N/A

Reproduction link

https://github.com/vueComponent/ant-design-vue/blob/master/components/index.js

Steps to reproduce

Create a typescript vue project.

import { Modal } from 'ant-design-vue';
Vue.use(Modal)
Vue.prototype.$destroyAll = Modal.destroyAll; <--- error

What is expected?

destroyAll to be defined in modal.d.ts

What is actually happening?

Property destroyAll does not exist on typeof Modal

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