Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
sdbrannum opened this issue Mar 30, 2020 · 1 comment
Closed
1 task done

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

sdbrannum opened this issue Mar 30, 2020 · 1 comment
Labels

Comments

@sdbrannum
Copy link

  • 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

@github-actions
Copy link

github-actions bot commented Apr 1, 2021

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants