@data-client/core
Version:
Async State Management without the Management. REST, GraphQL, SSE, Websockets, Fetch
15 lines (14 loc) • 464 B
TypeScript
import { EndpointInterface } from '@data-client/normalizr';
import { 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