ActionWithPayload<T extends string, P> Interface

A Redux Action, with additional "payload" information. Technically, Redux allows actions to take any shape, provided they specify a type property.

However, in order to simplify TypeScript typings, we follow this Flux Standard Actions-like convention, where all additional action information goes into a payload property.



Name Type Description
payload P    

Inherited properties

Name Type Inherited from Description
type T extends string Action<T extends string>  

Defined in

Last Updated: 20 September, 2019