Skip to content

Commit e397b1e

Browse files
author
Federico Luzzi
committed
fix: fix typescript error on non exported type
1 parent 117b397 commit e397b1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/hooks/useSelector.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export interface UseSelectorOptions<Selected = unknown> {
1717
noopCheck?: CheckFrequency
1818
}
1919

20-
interface UseSelector {
20+
export interface UseSelector {
2121
<TState = unknown, Selected = unknown>(
2222
selector: (state: TState) => Selected,
2323
equalityFn?: EqualityFn<Selected>

0 commit comments

Comments
 (0)