Skip to content

fix: refine TypeScript types#1853

Merged
akki-jat merged 1 commit intoshentao:masterfrom
ghrapan:fix-types
Feb 13, 2025
Merged

fix: refine TypeScript types#1853
akki-jat merged 1 commit intoshentao:masterfrom
ghrapan:fix-types

Conversation

@ghrapan
Copy link
Copy Markdown
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