CallbackPayload
CallbackPayload
CallbackPayload
Experimental shape for a generic type variable Payload
.
callback-payload.type.ts
Generic type variables
Payload
=
object
Payload
=
object
The shape of the optional payload
parameter, by default equal to the object
.
Properties
action?: string
action?: string
An optional action of a string
type that describes the cause of performed callback.
name?: string
name?: string
An optional name of the function or method of a string
type that performed callback.
param?: string
param?: string
An optional name of the parameter of a string
type to which performed callback relates.
Example usage
Last updated