Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 committed Oct 4, 2023
1 parent 8ad544e commit b3d74a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function getDependencies(funcs: unknown[]) {
export function createSelectorCreator<
MemoizeFunction extends UnknownMemoizer,
ArgsMemoizeFunction extends UnknownMemoizer = typeof defaultMemoize
// FIXME: unify or intersect this type parameter with `CreateSelectorOptions` to obtain a maintain source of truth.
// FIXME: unify or intersect this type parameter with `CreateSelectorOptions` to maintain a source of truth.
>(memoizeOptions: {
inputStabilityCheck?: StabilityCheck
memoize: MemoizeFunction
Expand Down Expand Up @@ -160,9 +160,9 @@ export function createSelectorCreator<
> & { memoize: MemoizeFunction } =
typeof memoizeOrOptions === 'function'
? {
memoize: memoizeOrOptions as MemoizeFunction,
memoizeOptions: memoizeOptionsFromArgs
}
memoize: memoizeOrOptions as MemoizeFunction,
memoizeOptions: memoizeOptionsFromArgs
}
: memoizeOrOptions

const createSelector = (...funcs: Function[]) => {
Expand Down

0 comments on commit b3d74a5

Please sign in to comment.