@swarmion/serverless-contracts
Version:
Generate and use type-safe contracts between your Serverless services.
6 lines • 403 B
TypeScript
import { GenericApiGatewayContract } from '../apiGatewayContract';
import { OutputType, RequestArguments } from '../types';
export declare const getFetchRequest: <Contract extends GenericApiGatewayContract>(contract: Contract, fetchFunction: typeof fetch, options: RequestArguments<Contract> & {
baseUrl?: URL | string;
}) => Promise<OutputType<Contract>>;
//# sourceMappingURL=fetchRequest.d.ts.map