UNPKG

@zedux/core

Version:

A high-level, declarative, composable form of Redux

12 lines (11 loc) 438 B
import { Reactable } from '../types'; /** Pulls the string action type out of an ActionFactory or returns a given string action type as-is. */ export declare const extractActionType: (reactable: Reactable, method: string) => any; /** Pulls the string action types out of a list of (possibly) mixed reactables and string action types. */ export declare const extractActionTypes: (reactables: Reactable[], method: string) => any[];