Type alias CommandFn<T, A>

CommandFn<T, A>: ((...args) => T)

The function executed by a command.

Type Parameters

  • T = unknown

  • A extends unknown[] = unknown[]

Type declaration

    • (...args): T
    • Parameters

      • Rest ...args: A

      Returns T

Generated using TypeDoc