Created
November 20, 2020 16:35
-
-
Save dovidweisz/c7c3b767ea08128a07950e7c0025dd5c to your computer and use it in GitHub Desktop.
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 ReplaceParam<T extends {}, P extends keyof T, R> = Omit<T, P> & { P: R }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment