mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-27 18:01:54 +02:00
17 lines
599 B
TypeScript
17 lines
599 B
TypeScript
import { ACTION_TYPES } from '../constants';
|
|
import { State } from '../interfaces/state';
|
|
export interface ClearAllAction {
|
|
type: typeof ACTION_TYPES.CLEAR_ALL;
|
|
}
|
|
export interface ResetToAction {
|
|
type: typeof ACTION_TYPES.RESET_TO;
|
|
state: State;
|
|
}
|
|
export interface SetIsLoadingAction {
|
|
type: typeof ACTION_TYPES.SET_IS_LOADING;
|
|
isLoading: boolean;
|
|
}
|
|
export declare const clearAll: () => ClearAllAction;
|
|
export declare const resetTo: (state: State) => ResetToAction;
|
|
export declare const setIsLoading: (isLoading: boolean) => SetIsLoadingAction;
|
|
//# sourceMappingURL=misc.d.ts.map
|