Skip to content

Commit

Permalink
Merge branch 'master' into renovate/lint-staged-15.x
Browse files Browse the repository at this point in the history
  • Loading branch information
toomuchdesign authored Apr 2, 2024
2 parents d8fb96d + 9cc5bb6 commit 3f795b3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"jest": "^29.7.0",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"reselect": "^5.0.1",
"reselect": "^5.1.0",
"rimraf": "^5.0.5",
"rollup": "^4.13.2",
"rollup-plugin-copy": "^3.5.0",
Expand Down
6 changes: 4 additions & 2 deletions src/typescript_tests/createCachedSelector.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {createSelectorCreator, lruMemoize} from 'reselect';
import {createSelectorCreator, lruMemoize, weakMapMemoize} from 'reselect';
import {createCachedSelector, KeySelector} from '../index';

function assertType<T>(value: T): T {
Expand Down Expand Up @@ -418,7 +418,9 @@ function testSelectorCreatorOptionNonLruMemoize() {
foo => foo
)({
keySelector: (state: State) => state.foo,
selectorCreator: createSelectorCreator(func => func),
selectorCreator: createSelectorCreator({
memoize: weakMapMemoize,
}),
});
}

Expand Down

0 comments on commit 3f795b3

Please sign in to comment.