Type Alias ActionCreateFn<Config>
ActionCreateFn: ( element: Element, args: string[], config?: Config,) => Action | Promise<Action> Type Parameters
- Config extends Record<string, unknown>
Type declaration
- (element: Element, args: string[], config?: Config): Action | Promise<Action>
Parameters
- element: Element
- args: string[]
Optional
config: Config