export type Mock any> = jest.Mock< ReturnType, Parameters >; export const fn = any>(implementation?: T) => jest.fn>, jest.ArgsType>(implementation);