SerenityJS
    Preparing search index...

    Type Alias CommandArguments<T>

    CommandArguments: {
        [K in keyof T]: T[K] extends [typeof Enum, boolean]
            ? T[K][0]["prototype"]
            : T[K] extends typeof Enum ? T[K]["prototype"] : T[K] | Enum
    }

    Type Parameters

    • T extends Record<string, unknown>