Next.js Discord

Discord Forum

new array methods

Unanswered
English Lop posted this in #help-forum
Open in Discord
English LopOP
It seems that by default I cannot use the new array methods in next.js such as .with() (atleast that is what my IDE tells me by giving me an error) How do I use them in client components without getting an error?

4 Replies

Original message was deleted
English LopOP
Wdym?
that's... just declaring an array
@English Lop Wdym?
Does it give you an error ? Or is it just the IDE showing a warning ?
What Node JS version are you using?