Skip to content

Commit

Permalink
fix: fix typescript error on non exported type (#2034)
Browse files Browse the repository at this point in the history
Co-authored-by: Federico Luzzi <fedeluzzi00@gmail.com>
  • Loading branch information
luzzif and Federico Luzzi committed Jun 18, 2023
1 parent a222ceb commit 28f0aa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useSelector.ts
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 28f0aa2

Please sign in to comment.