Created
December 1, 2025 03:11
-
-
Save anztrax/28ee48bcc6c4f84c75dd9a475e24bd92 to your computer and use it in GitHub Desktop.
Simple implementation of Push 2 generics in TS
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 Push<T extends unknown[], U> = [...T, U] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment