@@ -77,7 +77,7 @@ export type CaseReducerWithPrepare<State, Action extends PayloadAction> = {
7777 prepare: PrepareAction <Action [' payload' ]>;
7878};
7979
80- // @public (undocumented)
80+ // @alpha (undocumented)
8181export type Comparer <T > = ComparerNum <T > | ComparerStr <T >;
8282
8383// @public
@@ -101,7 +101,7 @@ export function createAction<P = void, T extends string = string>(type: T): Payl
101101// @public
102102export function createAction<PA extends PrepareAction <any >, T extends string = string >(type : T , prepareAction : PA ): PayloadActionCreator <ReturnType <PA >[' payload' ], T , PA >;
103103
104- // @public (undocumented)
104+ // @alpha (undocumented)
105105export function createAsyncThunk<ActionType extends string , PayloadCreator extends AsyncActionCreator <unknown , Dispatch , unknown , undefined >>(type : ActionType , payloadCreator : PayloadCreator ): {
106106 (args ? : Parameters <PayloadCreator >[0 ][" args" ] | undefined ): (dispatch : any , getState : any , extra : any ) => Promise <any >;
107107 pending: ActionCreatorWithPayload <{
@@ -120,7 +120,7 @@ export function createAsyncThunk<ActionType extends string, PayloadCreator exten
120120 }, string >;
121121};
122122
123- // @public (undocumented)
123+ // @alpha (undocumented)
124124export function createEntityAdapter<T >(options ? : {
125125 selectId? : IdSelector <T >;
126126 sortComparer? : false | Comparer <T >;
@@ -150,7 +150,7 @@ export interface CreateSliceOptions<State = any, CR extends SliceCaseReducers<St
150150 reducers: ValidateSliceCaseReducers <State , CR >;
151151}
152152
153- // @public (undocumented)
153+ // @alpha (undocumented)
154154export abstract class Dictionary <T > implements DictionaryNum <T > {
155155 // (undocumented)
156156 [id : string ]: T | undefined ;
@@ -163,7 +163,7 @@ export interface EnhancedStore<S = any, A extends Action = AnyAction, M extends
163163 dispatch: DispatchForMiddlewares <M > & Dispatch <A >;
164164}
165165
166- // @public (undocumented)
166+ // @alpha (undocumented)
167167export interface EntityAdapter <T > extends EntityStateAdapter <T > {
168168 // (undocumented)
169169 getInitialState(): EntityState <T >;
@@ -179,10 +179,10 @@ export interface EntityAdapter<T> extends EntityStateAdapter<T> {
179179 sortComparer: false | Comparer <T >;
180180}
181181
182- // @public (undocumented)
182+ // @alpha (undocumented)
183183export type EntityMap <T > = (entity : T ) => T ;
184184
185- // @public (undocumented)
185+ // @alpha (undocumented)
186186export interface EntityState <T > {
187187 // (undocumented)
188188 entities: Dictionary <T >;
@@ -203,7 +203,7 @@ export function getDefaultMiddleware<S = any, O extends Partial<GetDefaultMiddle
203203// @public
204204export function getType<T extends string >(actionCreator : PayloadActionCreator <any , T >): T ;
205205
206- // @public (undocumented)
206+ // @alpha (undocumented)
207207export type IdSelector <T > = IdSelectorStr <T > | IdSelectorNum <T >;
208208
209209// @public
@@ -222,7 +222,7 @@ export type PayloadAction<P = void, T extends string = string, M = never, E = ne
222222// @public
223223export type PayloadActionCreator <P = void , T extends string = string , PA extends PrepareAction <P > | void = void > = IfPrepareActionMethodProvided <PA , _ActionCreatorWithPreparedPayload <PA , T >, IsAny <P , ActionCreatorWithPayload <any , T >, IsUnknownOrNonInferrable <P , ActionCreatorWithNonInferrablePayload <T >, IfVoid <P , ActionCreatorWithoutPayload <T >, IfMaybeUndefined <P , ActionCreatorWithOptionalPayload <P , T >, ActionCreatorWithPayload <P , T >>>>>>;
224224
225- // @public (undocumented)
225+ // @alpha (undocumented)
226226export type Predicate <T > = (entity : T ) => boolean ;
227227
228228// @public
@@ -266,7 +266,7 @@ export type SliceCaseReducers<State> = {
266266
267267export { ThunkAction }
268268
269- // @public (undocumented)
269+ // @alpha (undocumented)
270270export type Update <T > = UpdateStr <T > | UpdateNum <T >;
271271
272272// @public
0 commit comments