@@ -77,7 +77,7 @@ export type CaseReducerWithPrepare<State, Action extends PayloadAction> = {
77
77
prepare: PrepareAction <Action [' payload' ]>;
78
78
};
79
79
80
- // @public (undocumented)
80
+ // @alpha (undocumented)
81
81
export type Comparer <T > = ComparerNum <T > | ComparerStr <T >;
82
82
83
83
// @public
@@ -101,7 +101,7 @@ export function createAction<P = void, T extends string = string>(type: T): Payl
101
101
// @public
102
102
export function createAction<PA extends PrepareAction <any >, T extends string = string >(type : T , prepareAction : PA ): PayloadActionCreator <ReturnType <PA >[' payload' ], T , PA >;
103
103
104
- // @public (undocumented)
104
+ // @alpha (undocumented)
105
105
export function createAsyncThunk<ActionType extends string , PayloadCreator extends AsyncActionCreator <unknown , Dispatch , unknown , undefined >>(type : ActionType , payloadCreator : PayloadCreator ): {
106
106
(args ? : Parameters <PayloadCreator >[0 ][" args" ] | undefined ): (dispatch : any , getState : any , extra : any ) => Promise <any >;
107
107
pending: ActionCreatorWithPayload <{
@@ -120,7 +120,7 @@ export function createAsyncThunk<ActionType extends string, PayloadCreator exten
120
120
}, string >;
121
121
};
122
122
123
- // @public (undocumented)
123
+ // @alpha (undocumented)
124
124
export function createEntityAdapter<T >(options ? : {
125
125
selectId? : IdSelector <T >;
126
126
sortComparer? : false | Comparer <T >;
@@ -150,7 +150,7 @@ export interface CreateSliceOptions<State = any, CR extends SliceCaseReducers<St
150
150
reducers: ValidateSliceCaseReducers <State , CR >;
151
151
}
152
152
153
- // @public (undocumented)
153
+ // @alpha (undocumented)
154
154
export abstract class Dictionary <T > implements DictionaryNum <T > {
155
155
// (undocumented)
156
156
[id : string ]: T | undefined ;
@@ -163,7 +163,7 @@ export interface EnhancedStore<S = any, A extends Action = AnyAction, M extends
163
163
dispatch: DispatchForMiddlewares <M > & Dispatch <A >;
164
164
}
165
165
166
- // @public (undocumented)
166
+ // @alpha (undocumented)
167
167
export interface EntityAdapter <T > extends EntityStateAdapter <T > {
168
168
// (undocumented)
169
169
getInitialState(): EntityState <T >;
@@ -179,10 +179,10 @@ export interface EntityAdapter<T> extends EntityStateAdapter<T> {
179
179
sortComparer: false | Comparer <T >;
180
180
}
181
181
182
- // @public (undocumented)
182
+ // @alpha (undocumented)
183
183
export type EntityMap <T > = (entity : T ) => T ;
184
184
185
- // @public (undocumented)
185
+ // @alpha (undocumented)
186
186
export interface EntityState <T > {
187
187
// (undocumented)
188
188
entities: Dictionary <T >;
@@ -203,7 +203,7 @@ export function getDefaultMiddleware<S = any, O extends Partial<GetDefaultMiddle
203
203
// @public
204
204
export function getType<T extends string >(actionCreator : PayloadActionCreator <any , T >): T ;
205
205
206
- // @public (undocumented)
206
+ // @alpha (undocumented)
207
207
export type IdSelector <T > = IdSelectorStr <T > | IdSelectorNum <T >;
208
208
209
209
// @public
@@ -222,7 +222,7 @@ export type PayloadAction<P = void, T extends string = string, M = never, E = ne
222
222
// @public
223
223
export 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 >>>>>>;
224
224
225
- // @public (undocumented)
225
+ // @alpha (undocumented)
226
226
export type Predicate <T > = (entity : T ) => boolean ;
227
227
228
228
// @public
@@ -266,7 +266,7 @@ export type SliceCaseReducers<State> = {
266
266
267
267
export { ThunkAction }
268
268
269
- // @public (undocumented)
269
+ // @alpha (undocumented)
270
270
export type Update <T > = UpdateStr <T > | UpdateNum <T >;
271
271
272
272
// @public
0 commit comments