You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error is that it does not recognize slotProps, and says Property 'slotProps' does not exist on type .....
When I don't use <component is="...">, the problem goes away. From what I'm seeing from the syntax coloring, the identifier slot in #[slot]="slotProps" is red when the error occurs, but is black when it doesn't. So there might be a problem with typing of component component, that I couldn't figure out how to fix.
I'm trying to create a wrapper component, so that everything is passed to the child element. This code is giving me errors:
The error is that it does not recognize
slotProps
, and saysProperty 'slotProps' does not exist on type ....
.When I don't use
<component is="...">
, the problem goes away. From what I'm seeing from the syntax coloring, the identifierslot
in#[slot]="slotProps"
is red when the error occurs, but is black when it doesn't. So there might be a problem with typing ofcomponent
component, that I couldn't figure out how to fix.Version: 0.37.3
Repro link: https://gist.github.com/Shayan-To/d7046b159232b09d7eafd1e88cea3aaa
The text was updated successfully, but these errors were encountered: