-
-
Notifications
You must be signed in to change notification settings - Fork 496
Closed
Labels
bugSomething isn't workingSomething isn't workinggood reproduction ✨This issue provides a good reproduction, we will be able to investigate it firstThis issue provides a good reproduction, we will be able to investigate it first
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 installLook 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.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood reproduction ✨This issue provides a good reproduction, we will be able to investigate it firstThis issue provides a good reproduction, we will be able to investigate it first