UNPKG

@wordpress/notices

Version:
16 lines 491 B
/** * Internal dependencies */ import type { Notice, ReducerAction } from './types'; /** * Reducer returning the next notices state. The notices state is an object * where each key is a context, its value an array of notice objects. * * @param state Current state. * @param action Dispatched action. * * @return Updated state. */ declare const notices: import("redux").Reducer<Record<string, Notice[]>, ReducerAction>; export default notices; //# sourceMappingURL=reducer.d.ts.map