After the last update, my builds are failing due to volar expecting slot to exist, but it thinks it doesn't.
Reason being is that the slots are being passed through to a child component using the $slots template variable.
Preferred fix would be volar to see $slots is being used in the template and then either allow anything as a valid slot i.e. type Record<string, unknown>, or
be smart enough to see they are being passed through to the child component, make those the allowed slots instead of {}.
At base level I would like a way to not have my build die in this specific case, seems I can't just add a @ts-ignore comment for this.
The text was updated successfully, but these errors were encountered:
Example reproduction repo
After the last update, my builds are failing due to volar expecting slot to exist, but it thinks it doesn't.
Reason being is that the slots are being passed through to a child component using the $slots template variable.
Preferred fix would be volar to see $slots is being used in the template and then either allow anything as a valid slot i.e. type
Record<string, unknown>
, orbe smart enough to see they are being passed through to the child component, make those the allowed slots instead of
{}
.At base level I would like a way to not have my build die in this specific case, seems I can't just add a @ts-ignore comment for this.
The text was updated successfully, but these errors were encountered: