JoinAbilities<T, U>: {
    [K in keyof T | keyof U]: [...(K extends keyof T
        ? T[K]
        : []), ...(K extends keyof U
        ? U[K]
        : [])]
}

Utility type that infers union of two ResourceAbilities. Type is used to infer capabilities of the Delegation.

Type Parameters

Generated using TypeDoc