We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently the Join<> type only works upto 22 input elements, after that It throws Type instantiation is excessively deep and possibly infinite.(2589)
Type instantiation is excessively deep and possibly infinite.(2589)
TSPlay
Improve Join type to handle much larger inputs.
Since 4.5, TS introduced tail recursion elimination on conditional types.
We can modify the Join function as such that it can handle inputs longer than 22 elements.
Current behaviour:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🐞 Bug Report
Describe the bug
Currently the Join<> type only works upto 22 input elements, after that It throws
Type instantiation is excessively deep and possibly infinite.(2589)
Reproduce the bug
TSPlay
Expected behavior
Improve Join type to handle much larger inputs.
Possible Solution
Since 4.5, TS introduced tail recursion elimination on conditional types.
We can modify the Join function as such that it can handle inputs longer than 22 elements.
TSPlay
Screenshots
Current behaviour:
Additional context
The text was updated successfully, but these errors were encountered: