View as Markdown

API reference: @salmonui/data

FetchLiketype

import type { FetchLike } from '@salmonui/data';
type FetchLike = (input: string, init?: FetchRequestInit) => Promise<FetchResponseLike>;

Structural fetch; the platform fetch is assignable.