- command(name: string): ((target: any, key: string, descriptor: TypedPropertyDescriptor<CommandCallback>) => void)
-
Returns ((target: any, key: string, descriptor: TypedPropertyDescriptor<CommandCallback>) => void)
-
- (target: any, key: string, descriptor: TypedPropertyDescriptor<CommandCallback>): void
-
Parameters
-
target: any
-
key: string
-
descriptor: TypedPropertyDescriptor<CommandCallback>
Returns void
Registers a command.