-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
- 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