Skip to content

Commit

Permalink
docs: update toast.md (#634)
Browse files Browse the repository at this point in the history
Module '"vue"' has no exported member 'InstanceType'.
  • Loading branch information
YunYouJun committed Jan 22, 2024
1 parent 5ba578b commit a3ddc89
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/content/components/toast.md
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,6 @@ Create your own imperative API to allow [toast duplication](/components/toast#du
```vue
<script setup lang="ts">
import Toast from './your-toast.vue'
import type { InstanceType } from 'vue'
const savedRef = ref<InstanceType<typeof Toast>>()
</script>
Expand Down Expand Up @@ -706,4 +705,4 @@ defineExpose({
</ToastRoot>
</template>
```


0 comments on commit a3ddc89

Please sign in to comment.