Closed
Description
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
$ pnpm install
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.