export type AsObject = { [key: string]: unknown; }; export type AsType = { [K in keyof T]: T[K]; }; export type Entries = { [K in keyof T]: [K, T[K]]; }[keyof T]; export type Validation = { [K in keyof T]: (value: T[K]) => boolean; }; export type PickPartial = { [P in K]: Partial; };