Simplify
Simplify<
T> =Textendsany[] |Date?T:{ [K in keyof T]: T[K] }& { }
Causes typescript to simplify the display of object types created using MakeOptional, MakeRequired, and other utility types. This doesn't change the effective type, but makes popups in the ide and compile error messages cleaner.
Type Parameters¶
| Type Parameter |
|---|
T |