Type Alias: DefineActionHelper()
DefineActionHelper: <
T
>(name
,func
,params
?,description
?) =>ActionDefinition
The defineAction helper type. Internal use only.
Type Parameters
• T
the type of action parameter.
Parameters
• name: string
the action name.
• func: ActionHandler
<T
>
the action handler.
• params?: ParameterDefinition
<T
>[]
the definition of action parameters.
• description?: string
the action description.
Returns
the definition of an action.