Skip to content

FetchLike ​

ts
type FetchLike = (input, init) => Promise<FetchLikeResponse>;

Parameters ​

ParameterType
inputstring
init{ method: string; headers: Record<string, string>; body?: string; signal?: AbortSignal; }
init.methodstring
init.headersRecord<string, string>
init.body?string
init.signal?AbortSignal

Returns ​

Promise<FetchLikeResponse>