ДокументацияJS SDK: Типы (Type Aliases)Type Alias: Fetch

Type Alias: Fetch

TS THEME={NULL} api.wedstack.ru/v1
type Fetch = (input, init?) => Promise<Response>;

Реализация HTTP fetch, совместимая с глобальным fetch.

Параметры

input

string

init?

RequestInit

Возвращаемое значение

Promise<Response>