From 68a8f775042496793b6b9a6b75caa64751aa98c8 Mon Sep 17 00:00:00 2001 From: Mark Erikson Date: Thu, 30 Nov 2023 22:14:27 -0500 Subject: [PATCH] Fiddle with argsmemoize typetests --- typescript_test/argsMemoize.typetest.ts | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/typescript_test/argsMemoize.typetest.ts b/typescript_test/argsMemoize.typetest.ts index b2aa33415..bf2dc1924 100644 --- a/typescript_test/argsMemoize.typetest.ts +++ b/typescript_test/argsMemoize.typetest.ts @@ -260,19 +260,7 @@ function overrideOnlyArgsMemoizeInCreateSelector() { argsMemoizeOptions: [{ maxSize: 2 }] } ) - const selectorWeakMapSeparateInlineArgsWithMemoizeOptions4 = - createSelectorDefaultMemoize( - // @ts-expect-error - (state: RootState) => state.todos, - // @ts-expect-error - todos => todos.map(t => t.id), - { - memoizeOptions: [{ isPromise: false }], - argsMemoizeOptions: - // @ts-expect-error - (a, b) => a === b - } - ) + const selectorWeakMapSeparateInlineArgsWithMemoizeOptions5 = // @ts-expect-error createSelectorDefaultMemoize(