BUG | `createReusableTemplate` | Not compatible with the `vue-types` library
Author: MUTTERTOOLSCreated Jul 31, 2025Updated Sep 9, 2026
Labelspending triage
Describe the bug
Type inference takes the function and its return as a prop type.
defineProps works fine
Perhaps the issue lies here.
Reproduction
System Info
"@vueuse/core": "^13.2.0"
"vue-types": "^5.1.3"
"typescript": "^5.8.3",
Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a VueUse issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.
Source: vueuse/vueuse