diff --git a/src/api/sfc-script-setup.md b/src/api/sfc-script-setup.md index be00c381a9..d7ee22d963 100644 --- a/src/api/sfc-script-setup.md +++ b/src/api/sfc-script-setup.md @@ -469,6 +469,25 @@ defineProps<{ ``` +In order to use a reference to a generic component in a `ref` you need to use the [`vue-component-type-helpers`](https://www.npmjs.com/package/vue-component-type-helpers) library as `InstanceType` won't work. + +```vue +