Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
eXamadeus committed Nov 2, 2021
1 parent c0e05b1 commit 17c273b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/test_selector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -747,8 +747,8 @@ describe('defaultMemoize', () => {
selector.clearCache()

// Cache was cleared
// Note: the outer arguments wrapper function still has 'c' in its own size-1 cache, so passing
// 'c' here would _not_ recalculate
// Note: the outer arguments wrapper function still has 'a' in its own size-1 cache, so passing
// 'a' here would _not_ recalculate
selector('b') // ['b']
expect(funcCalls).toBe(5)
})
Expand Down
2 changes: 0 additions & 2 deletions typescript_test/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1176,8 +1176,6 @@ function deepNesting() {
const selector24 = createSelector(selector23, s => s)
const selector25 = createSelector(selector24, s => s)
const selector26: Selector<
// this can be created as a utility type, or we could expose this from the
// library since it already exists...
typeof selector25 extends Selector<infer S> ? S : never,
ReturnType<typeof selector25>
> = createSelector(selector25, s => s)
Expand Down

0 comments on commit 17c273b

Please sign in to comment.