haxiomic / dts2hx

Converts TypeScript definition files (d.ts) to haxe externs (.hx) via the TypeScript compiler API
MIT License
134 stars 9 forks source link

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

Closed Jarrio closed 2 years ago

Jarrio commented 2 years ago

Trying to convert discord.js externs is leading to the above error message.

Repro:

npm install discord.js@13.2.0
npx dts2hx discord.js
haxiomic commented 2 years ago

91

haxiomic commented 2 years ago

closing as dupe (but recognize it's an issue to be solved, should be fixed when upgrading to TS4!)