- action(name: string, description?: IActionDescription<ActionArguments, default<unknown, number, EntityReferenceTypes, unknown>, void, IActionUsable, never>): (<K, T>(target: T, key: K) => void)
-
Returns (<K, T>(target: T, key: K) => void)
-
- <K, T>(target: T, key: K): void
-
Type Parameters
-
K extends string | number | symbol
-
T extends Record<K, ActionType>
Returns void
Registers an action.