Created
December 4, 2020 06:37
-
-
Save cartant/80218449726edd28950a7ecf23d8e807 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
declare function combine<Elements extends unknown[]>( | |
...inputs: [...Inputs<Elements>] | |
): Elements[number][]; | |
declare function combine<Elements extends unknown[]>( | |
...inputsAndCount: [...Inputs<Elements>, number] | |
): Elements[number][]; | |
declare function combine<Elements extends unknown[]>( | |
...inputsAndCountAndDir: [...Inputs<Elements>, number, "left" | "right"] | |
): Elements[number][]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment