Skip to content

fix: refine TypeScript types #1853

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

Merged
merged 1 commit into from
Feb 13, 2025
Merged

fix: refine TypeScript types #1853

merged 1 commit into from
Feb 13, 2025

Conversation

ghrapan
Copy link
Contributor

@ghrapan ghrapan commented Feb 11, 2025

This refines the types created in #1805.

  1. Correct type for modelValue - add null as possible value.

  2. Export component's props as a separate type so that it can be used in defineProps<T> - a must-have for writing wrappers around vue-multiselect. See the problem described in https://stackoverflow.com/a/78749166.

@akki-jat akki-jat merged commit 9607a47 into shentao:master Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants