withDefaults with options defined in an other file ? #12651
Replies: 1 comment
-
Hi @julie-seebauer, According to the vue docs it seems like there is a limitation regarding complex types, which may seem to be the issue.
|
Beta Was this translation helpful? Give feedback.
-
I'm trying to use this syntax :
and the defaultProps are defined like this in another file:
The .d.ts file generated is like this:
If I remove this import and use it like this it works:
Am I missing something ? Or is it not possible to import default options like this ?
Beta Was this translation helpful? Give feedback.
All reactions