Closed dwightjack closed 3 years ago
I will add support for v-bind="..."
syntax, thanks for the report! btw this is volar issue. π
For now you can only break down v-bind
to fix:
<IntervalEditBox
v-for="interval in intervalsRef"
:key="interval.id"
:type="interval.type"
:duration ="interval.duration"
:remaining ="interval.remaining"
...
>
Thank for your reply. By the way, great project! I found a couple of type errors thanks to this! π
Fixed in 0.0.18.
Great! Thank you! π―
Hi!
I am currently migrating one application from vue-cli to vote using the vue-ts template.
In some components I use the
<component v-bind="props" />
patterns to pass multiple props in one directive but, when I runvue-tsc --noEmit
it seems that vue-tsc is not able to read theprops
type even if it's correctly typed in the setup method.For example I have a template like this:
where
intervalsRef
is defined in the setup method as:The error I'm receiving is:
Any hint on how could I fix this error?