import {SinonStub} from "sinon"; export type SinonStubFn any> = T extends (...args: infer TArgs) => infer TReturnValue ? SinonStub : never;