@openshift-console/dynamic-plugin-sdk
Version:
Provides core APIs, types and utilities used by dynamic plugins at runtime.
13 lines (12 loc) • 476 B
TypeScript
import { CoreState } from '../../redux-types';
import { CoreAction } from '../actions/core';
/**
* Reducer function for the core
* @param state the reducer state
* @param action provided associated action type alongwith payload
* @param action.type type of the action
* @param action.payload associated payload for the action
* @see CoreAction
* @returns The the updated state.
*/
export declare const coreReducer: (state: CoreState, action: CoreAction) => CoreState;