(...funcs)
| 297 | ); |
| 298 | |
| 299 | export function composeWithDevTools(...funcs) { |
| 300 | if (funcs.length === 0) { |
| 301 | return devToolsEnhancer(); |
| 302 | } |
| 303 | if (funcs.length === 1 && typeof funcs[0] === 'object') { |
| 304 | return compose(funcs[0]); |
| 305 | } |
| 306 | return compose({})(...funcs); |
| 307 | } |
no test coverage detected