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

Chart.js; Error: Reached type-depth limit #90

Open
rb1147x opened this issue Jun 1, 2021 · 2 comments
Open

Chart.js; Error: Reached type-depth limit #90

rb1147x opened this issue Jun 1, 2021 · 2 comments

Comments

@rb1147x
Copy link

rb1147x commented Jun 1, 2021

Hello,

I've just tried using dts2hx on Chart.js and have received this error:

Error: Internal error: Reached type-depth limit, stopping further type conversions. This indicates unbound recursive type conversion

No additional information is provided and useable externs (so far) are still generated and saved.

Chart.js appears to include it's own TypeScript definitions (at least for v3.3.2) so if you try to replicate the error I installed chart.js with npm install chart.js and not @types/chart.js. In fact the @types version works just fine with no errors.

Thanks.

@haxiomic
Copy link
Owner

haxiomic commented Jun 1, 2021

Thanks @rb1147x, this may result in a Dynamic somewhere but otherwise types should be ok

I’ll take a look in the future

@sonygod
Copy link

sonygod commented Sep 19, 2021

same error in material-ui

npm install @material-ui/core@next @emotion/react @emotion/styled

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

No branches or pull requests

3 participants