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 6d4e543 commit f5e512dCopy full SHA for f5e512d
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