-
-
Save Hawxy/d26740e2dd0e4c375f005badea107472 to your computer and use it in GitHub Desktop.
Vuetify 3 Generics Error Reproduction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<v-autocomplete v-model="value" :items="items"> </v-autocomplete> | |
</template> | |
<script setup lang="ts" generic="T extends object"> | |
import { ref } from 'vue'; | |
const value = ref<T>(); | |
defineProps<{ | |
items: T[]; | |
}>(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment