Skip to content
New issue

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

TypeScript4 support? #91

Open
kevinresol opened this issue Jun 26, 2021 · 1 comment
Open

TypeScript4 support? #91

kevinresol opened this issue Jun 26, 2021 · 1 comment
Labels

Comments

@kevinresol
Copy link

Was trying to convert https://github.com/discordjs/discord.js and I think it is using some ts4 features and resulted in a lot of errors:

> Error: Internal error: Reached type-depth limit, stopping further type conversions. This indicates unbound recursive type conversion
> Error: Internal error: Reached type-depth limit, stopping further type conversions. This indicates unbound recursive type conversion
> Error: Internal error: Reached type-depth limit, stopping further type conversions. This indicates unbound recursive type conversion
> Error: Internal error: Reached type-depth limit, stopping further type conversions. This indicates unbound recursive type conversion
> Error: Internal error: Reached type-depth limit, stopping further type conversions. This indicates unbound recursive type conversion
@haxiomic
Copy link
Owner

Hey, @PXshadow has let me know about downlevel-dts which can translate TS 4 to TS 3.4 syntax, which could help solve these issues in the short term

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants