Skip to content

Commit f5e512d

Browse files
authored
fix(typo): typo in composition-api (vuejs#3011)
1 parent 6d4e543 commit f5e512d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/typescript/composition-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ import { useTemplateRef } from 'vue'
467467
import MyGenericModal from './MyGenericModal.vue'
468468
import type { ComponentExposed } from 'vue-component-type-helpers'
469469
470-
const modal = useTemplateRef<ComponentExposed<typeof MyModal>>(null)
470+
const modal = useTemplateRef<ComponentExposed<typeof MyGenericModal>>(null)
471471
472472
const openModal = () => {
473473
modal.value?.open('newValue')

0 commit comments

Comments
 (0)