Vue version
3.3.4
Description
This issue appears when importing a .tsx component in a .vue component. If the props contain a function with a generic argument, the argument is of type unknown.
Link to minimal reproduction
https://github.com/s-montigny-desautels/vue3.3-issues
Steps to reproduce
Look for the error in file BugTSXFunctionUnknown.vue
What is expected?
The type of the function to respect the generic
What is actually happening?
The type of the function argument is of type unknown
Any additional comments?
This issue is only present in a .vue file. When using .tsx file, everything work as expected.
Vue version
3.3.4
Description
This issue appears when importing a
.tsxcomponent in a.vuecomponent. If the props contain a function with a generic argument, the argument is of typeunknown.Link to minimal reproduction
https://github.com/s-montigny-desautels/vue3.3-issues
Steps to reproduce
Look for the error in file
BugTSXFunctionUnknown.vueWhat is expected?
The type of the function to respect the generic
What is actually happening?
The type of the function argument is of type
unknownAny additional comments?
This issue is only present in a
.vuefile. When using.tsxfile, everything work as expected.