You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
attempt to solve issue by <template #item="{ item }: { item: UserView }"> aswell gives an error
Type 'VTabsSlot' is not assignable to type '{ item: UserView; }'.
Types of property 'item' are incompatible.
Type 'TabItem' is not assignable to type 'UserView'.
Type 'string' is not assignable to type 'UserView'.ts-plugin(2322)
const item: UserView
The text was updated successfully, but these errors were encountered:
Environment
Vuetify Version: 3.7.4
Vue Version: 3.5.12
Browsers: Firefox 133.0
OS: Mac OS 10.15
Steps to reproduce
Inside v-tabs place v-tab and v-tabs-window-item
pass item and tab via slots
Expected Behavior
slots #tab and #item should have ability to extend TabItem by data used for v-tabs items slot
Actual Behavior
doesn't extend TabItem type by data used in v-tabs as items slot
Error:
Property 'icon' does not exist on type 'TabItem'.
Property 'icon' does not exist on type 'string'.ts(2339)
any
same behaviour for all properties of item
Reproduction Link
https://play.vuetifyjs.com/#...
Other comments
attempt to solve issue by <template #item="{ item }: { item: UserView }"> aswell gives an error
Type 'VTabsSlot' is not assignable to type '{ item: UserView; }'.
Types of property 'item' are incompatible.
Type 'TabItem' is not assignable to type 'UserView'.
Type 'string' is not assignable to type 'UserView'.ts-plugin(2322)
const item: UserView
The text was updated successfully, but these errors were encountered: