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