UNPKG

@data-client/core

Version:

Async State Management without the Management. REST, GraphQL, SSE, Websockets, Fetch

12 lines 445 B
import type { EndpointInterface } from '@data-client/normalizr'; import type { FetchAction } from '../../types.js'; import { EndpointUpdateFunction } from '../types.js'; /** * Requesting a fetch to begin */ export declare function createFetch<E extends EndpointInterface & { update?: EndpointUpdateFunction<E>; }>(endpoint: E, { args }: { args: readonly [...Parameters<E>]; }): FetchAction<E>; //# sourceMappingURL=createFetch.d.ts.map