Skip to content

Commit

Permalink
chore: use unknown[] instead of any[] for test types
Browse files Browse the repository at this point in the history
Co-authored-by: Marin Atanasov <[email protected]>
  • Loading branch information
jpstevens and tyxla authored May 9, 2024
1 parent 5eb0ba8 commit bd57b12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/focal-point-picker/test/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import userEvent from '@testing-library/user-event';
import Picker from '..';
import type { FocalPointPickerProps } from '../types';

type Log = { name: string; args: any[] };
type EventLogger = ( name: string, args: any[] ) => void;
type Log = { name: string; args: unknown[] };
type EventLogger = ( name: string, args: unknown[] ) => void;

const props: FocalPointPickerProps = {
onChange: jest.fn(),
Expand Down

0 comments on commit bd57b12

Please sign in to comment.