Last active
January 21, 2025 22:12
-
-
Save feliperdamaceno/f374dfc92a5e5e6cff6c6e76bd3c566b to your computer and use it in GitHub Desktop.
TS type helper to cleanup the result of merged object types.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type Prettify<T> = { | |
| [K in keyof T]: T[K] | |
| } & {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment