Hello there ! A picture is worth a thousands words. I'm trying to write this helper, but it breaks inference. Does anyone know of something that could work ?
export type Select<T> = {
[P in keyof T]?: boolean;
};
export type Select<T> = {
[P in keyof T]?: boolean;
};