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
This is my RTK (Redux Toolkit) store. prefer-spread is complaining about concat, but this isn't an array, it's a custom util type called Tuple from here that implements its own concat() method. There is no way to use a spread here.
Unfortunately, without type information, Oxlint is unable to tell .concat() is a custom, non-array method. Consider disabling it with // oxlint-disable-next-lline prefer-spread.
Interesting, I hadn't thought about that! I wonder if it makes sense to collaborate with Biome and/or QuickLint to develop a shared minimal type-parser for linting purposes... biomejs/biome#3187
This is my RTK (Redux Toolkit) store.
prefer-spread
is complaining about concat, but this isn't an array, it's a custom util type calledTuple
from here that implements its ownconcat()
method. There is no way to use a spread here.The text was updated successfully, but these errors were encountered: