Created
February 10, 2023 07:18
-
-
Save Saul-Mirone/aff9730b50445b8ea37632e101873d06 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
// https://github.com/microsoft/TypeScript/issues/27024 | |
export type Equals<X, Y> = | |
(<T>() => T extends X ? 1 : 2) extends | |
(<T>() => T extends Y ? 1 : 2) ? true : false; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment