You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Discovered the source of the problem. This SDK does not constrain the TypeScript version but is unusable by any version of TypeScript before 4.5 as that is when they added tail-recursion elimination.
For now I'll just update but it is definitely worth looking into updating the package.json in this project to properly constrain packages.
Michael-Ziluck
changed the title
[BUG] MaxInt instantiation is excessively deep and possibly infinite
[BUG] MaxInt instantiation is excessively deep and possibly infinite (TypeScript < 4.5)
Oct 27, 2023
Error
When using TypeScript and the SDK, calling any function that uses
MaxInt
results in the following error:When instantiating it in-line, the same thing also occurs:
Even when trying it with the old version of MaxInt before #48 has the same problem. Not sure how others have not reported it yet.
Versions
Output from
npm --versions
:Output from
npm list
:The text was updated successfully, but these errors were encountered: