We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb33e7d commit 0bdc514Copy full SHA for 0bdc514
src/guide/typescript/composition-api.md
@@ -467,7 +467,7 @@ import { useTemplateRef } from 'vue'
467
import MyGenericModal from './MyGenericModal.vue'
468
import type { ComponentExposed } from 'vue-component-type-helpers'
469
470
-const modal = useTemplateRef<ComponentExposed<typeof MyModal>>(null)
+const modal = useTemplateRef<ComponentExposed<typeof MyGenericModal>>(null)
471
472
const openModal = () => {
473
modal.value?.open('newValue')
0 commit comments