Created
February 28, 2022 21:42
-
-
Save bpander/b8bb129c13aa545c08f3f630328938e8 to your computer and use it in GitHub Desktop.
This file contains 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
export type Overlap<T, U> = { [K in Extract<keyof T, keyof U>]: U[K] | T[K] }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment