Type Alias: FetchLike
type FetchLike = (input: string, init?: {
body?: string;
headers?: Record<string, string>;
method?: string;
}) => Promise<ResponseLike>;
Defined in: service-framework-client/src/contracts.ts:105
Parameters
| Parameter | Type |
|---|---|
input | string |
init? | { body?: string; headers?: Record<string, string>; method?: string; } |
init.body? | string |
init.headers? | Record<string, string> |
init.method? | string |
Returns
Promise<ResponseLike>