Skip to content

Commit

Permalink
chore(utilities): better type
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Feb 27, 2025
1 parent 7c8fa7d commit 4e9e1ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/utilities/src/hooks/useLocalStorage.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ describe('useLocalStorage', () => {
beforeEach(() => {
vi.mock('react', () => {
return {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
useState: (initialValue: any) => [initialValue(), () => {}],
useState: (initialValue: () => unknown) => [initialValue(), () => {}],
};
});
});
Expand Down

0 comments on commit 4e9e1ac

Please sign in to comment.