export type IsArray = IsArray extends true ? Type[] : Type export type IsAnyOf = AnyOf extends true ? { [key: string]: Type } : Type export type IsRequired = K extends true ? T : T