#What is the replacement for the deprecated {...element} syntax ?

10 messages · Page 1 of 1 (latest)

little cosmos
#

I have to pass down all other props down to the next component, and while it works, I'm getting a warning saying that this way of doing things are deprecated.
What is the alternative?
I've wandered around the documentation, but I cannot seem to find the replacement

lucid saffron
#

I'm not sure where that comes from, but that syntax is not deprecated and that warning doesn't come from us

little cosmos
#

I'm on webstorm, could be Jetbrain's implementation

lucid saffron
#

Weird, might be a bug on their end 😄

little cosmos
#

Got me scared for a bit, but thanks a lot for your help!
(I've attached my plugin version, so that we can see if it is reproductible)

lucid saffron
#

We don't really have contact with their team, so opening a ticket on their bug tracker is the most we can do, unfortunately

little cosmos
#

Yeah, I've seen the struggle from afar '^^

lucid saffron
#

Sorry for the inconvenience 😅

little cosmos
#

For now, I'm stuck on jetbrains, mainly due to weird things happening with the TS LSP and the paths system

#

But I made another project, and really liked the LSP support for astro, thanks a lot for your work on it ^^