Skip to content

Commit 8624459

Browse files
committed
Fix TS 5.4 issue related to using arguments in createSelectorCreator
1 parent d53a928 commit 8624459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/createSelectorCreator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ export function createSelectorCreator<
391391
// @ts-ignore
392392
return (resultFunc as Combiner<InputSelectors, Result>).apply(
393393
null,
394-
arguments
394+
arguments as unknown as Parameters<Combiner<InputSelectors, Result>>
395395
)
396396
}, ...finalMemoizeOptions) as Combiner<InputSelectors, Result> &
397397
ExtractMemoizerFields<OverrideMemoizeFunction>

0 commit comments

Comments
 (0)