UNPKG

@data-client/core

Version:

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

11 lines (10 loc) 420 B
import { Denormalize, Queryable, SchemaArgs } from '@data-client/normalizr'; import { SetAction } from '../../types.js'; export declare function createSet<S extends Queryable>(schema: S, { args, fetchedAt, value, }: { args: readonly [ ...SchemaArgs<S> ]; value: {} | ((previousValue: Denormalize<S>) => {}); fetchedAt?: number; }): SetAction<S>; //# sourceMappingURL=createSet.d.ts.map