/** * A type that represents the values of an object type `T`. * * This utility type takes an object type `T` and produces a union of its value types. * * @template T - The object type to extract values from. */ export type FlattenValues = T[keyof T]; /** * A type that represents the keys of an object type `T`. * * This utility type takes an object type `T` and produces a union of its key types. * * @template T - The object type to extract keys from. */ export type FlattenKeys = keyof T; /** * A type that flattens an object type `T`. * * This utility type takes an object type `T` and recursively flattens it. * * @template T - The object type to flatten. */ export type Flatten = T extends object ? { [K in keyof T]: Flatten; } : T; //# sourceMappingURL=flatten.types.d.ts.map