Created
November 30, 2025 00:32
-
-
Save anztrax/33ee817656ab5dd3108cee6bd6175c52 to your computer and use it in GitHub Desktop.
Simple Implementation of Exclude in Typescript
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 MyExclude<T, U> = T extends U ? never: T; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment