UNPKG

@reduxjs/toolkit

Version:

The official, opinionated, batteries-included toolset for efficient Redux development

9 lines (8 loc) 364 B
import type { EntityId, EntityState } from './models'; export declare function getInitialEntityState<T, Id extends EntityId>(): EntityState<T, Id>; export declare function createInitialStateFactory<T, Id extends EntityId>(): { getInitialState: { (): EntityState<T, Id>; <S extends object>(additionalState: S): EntityState<T, Id> & S; }; };