chore: fix unnecessary 'undefined' types (#2589)

This commit is contained in:
Braden MacDonald
2025-11-12 13:26:01 -05:00
committed by GitHub
parent 2530b01b82
commit 5ec00236cb
8 changed files with 8 additions and 8 deletions

View File

@@ -28,7 +28,7 @@ mockUseLibBlockMetadata.applyMock();
const searchParamsGetMock = jest.fn();
let axiosMock: MockAdapter;
let mockShowToast: (message: string, action?: ToastActionData | undefined) => void;
let mockShowToast: (message: string, action?: ToastActionData) => void;
let queryClient: QueryClient;
jest.mock('../studio-home/hooks', () => ({