UNPKG

@modern-js-reduck/plugin-auto-actions

Version:

The meta-framework suite designed from scratch for frontend-focused modern web development.

4 lines 295 B
declare type ObjectDispatchActions<T extends Record<string, any>> = { [key in string & keyof T as `set${Capitalize<key>}`]: (payload: T[key]) => void }; declare const createObjectActions: (state: any) => Record<string, any>; export { createObjectActions }; export type { ObjectDispatchActions };