@data-client/core
Version:
Async State Management without the Management. REST, GraphQL, SSE, Websockets, Fetch
8 lines • 405 B
TypeScript
import type { Denormalize, Queryable, SchemaArgs } from '@data-client/normalizr';
import type { 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