We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
prefer-rest-params
prefer-spread
composeWithDevTools
1 parent 73934a7 commit f5498eaCopy full SHA for f5498ea
packages/toolkit/src/devtoolsExtension.ts
@@ -223,7 +223,9 @@ export const composeWithDevTools: ComposeWithDevTools =
223
? (window as any).__REDUX_DEVTOOLS_EXTENSION_COMPOSE__
224
: function () {
225
if (arguments.length === 0) return undefined
226
+ // eslint-disable-next-line prefer-rest-params
227
if (typeof arguments[0] === 'object') return compose
228
+ // eslint-disable-next-line prefer-spread, prefer-rest-params
229
return compose.apply(null, arguments as any as AnyFunction[])
230
}
231
0 commit comments