Type alias FillEmptyPermissionsOptional<P>

FillEmptyPermissionsOptional<P>: { [ index in keyof P]: P[index] extends string ? P[index] | {
    key: P[index];
    value: string[];
} : P[index] extends {
    key: infer Key;
    value: (infer Value)[] | ReadonlyArray<infer Value>;
} ? Key | {
    key: Key;
    value: Value[];
} : never }

Type Parameters

Generated using TypeDoc