Add warning in development when a result function is x => x
.
#290
Annotations
10 errors
Test types:
typescript_test/argsMemoize.typetest.ts#L7
Module '"reselect"' has no exported member 'setGlobalDevModeChecks'.
|
Test types:
typescript_test/argsMemoize.typetest.ts#L708
No overload matches this call.
|
Test types:
typescript_test/argsMemoize.typetest.ts#L725
Argument of type 'unknown' is not assignable to parameter of type '{ id: number; completed: boolean; }[]'.
|
Test types:
typescript_test/argsMemoize.typetest.ts#L731
Argument of type 'unknown' is not assignable to parameter of type '{ id: number; completed: boolean; }[]'.
|
Test types:
typescript_test/argsMemoize.typetest.ts#L732
Unused '@ts-expect-error' directive.
|
Test types:
typescript_test/argsMemoize.typetest.ts#L734
Unused '@ts-expect-error' directive.
|
Test types:
typescript_test/argsMemoize.typetest.ts#L736
Unused '@ts-expect-error' directive.
|
Test types:
typescript_test/argsMemoize.typetest.ts#L738
Unused '@ts-expect-error' directive.
|
Test types:
typescript_test/argsMemoize.typetest.ts#L742
Property 'cache' does not exist on type '((state: any, ...params: any[]) => unknown) & { clearCache: () => void; } & { resultFunc: (...resultFuncArgs: readonly unknown[]) => unknown; memoizedResultFunc: ((...resultFuncArgs: readonly unknown[]) => unknown) & { clearCache: () => void; }; lastResult: () => unknown; dependencies: SelectorArray; recomputations:...'.
|
Test types:
typescript_test/argsMemoize.typetest.ts#L744
Property 'fn' does not exist on type '((state: any, ...params: any[]) => unknown) & { clearCache: () => void; } & { resultFunc: (...resultFuncArgs: readonly unknown[]) => unknown; memoizedResultFunc: ((...resultFuncArgs: readonly unknown[]) => unknown) & { clearCache: () => void; }; lastResult: () => unknown; dependencies: SelectorArray; recomputations:...'.
|
The logs for this run have expired and are no longer available.
Loading