Skip to content

Commit

Permalink
fix: fix typescript error on non exported type
Browse files Browse the repository at this point in the history
  • Loading branch information
Federico Luzzi committed Jun 15, 2023
1 parent 117b397 commit e397b1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useSelector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface UseSelectorOptions<Selected = unknown> {
noopCheck?: CheckFrequency
}

interface UseSelector {
export interface UseSelector {
<TState = unknown, Selected = unknown>(
selector: (state: TState) => Selected,
equalityFn?: EqualityFn<Selected>
Expand Down

0 comments on commit e397b1e

Please # to comment.