JoinAllows<T, U>: {
    [K in keyof T | keyof U]: JoinAbilities<K extends keyof T
        ? T[K] extends ResourceAbilities
            ? T[K]
            : {}
        : {}, K extends keyof U
        ? U[K] extends ResourceAbilities
            ? U[K]
            : {}
        : {}>
}

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

Type Parameters

Generated using TypeDoc