/** Accepts Object type and returns a union of its' own property values. */ export type ValuesOf> = T[keyof T]; /** Creates key-value pair object type from provided string union. */ export type ConstantOf = Readonly, T>>; /** * This is used for required consumer facing props. Since we can't trust the consumers to provide all the required props (JS users, automations, etc.), * we need to ensure that undefined values wouldn't break the component. * @returns a union with 'undefined'. * */ export type SafeRequired = T | undefined; /** Blocks type-argument inference from the wrapped position. */ export type NoInferType = [T][T extends unknown ? 0 : never]; export type Prettify = { [K in keyof T]: Prettify; } & {}; //# sourceMappingURL=typeUtils.d.ts.map