2 lines
94 B
TypeScript
2 lines
94 B
TypeScript
export type Simplify<T> = { [K in keyof T]: T[K] } & {};
|
|
export type Minify<T> = Simplify<T>;
|