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

dts-bundle generates circular dependencies #64

Open
Havunen opened this issue Aug 28, 2018 · 1 comment
Open

dts-bundle generates circular dependencies #64

Havunen opened this issue Aug 28, 2018 · 1 comment

Comments

@Havunen
Copy link

Havunen commented Aug 28, 2018

Building types creates circular dependencies and references to itself. To reproduce the issue you can clone Inferno repository https://github.com/infernojs

npm install
npm run build:typings

Now open generated typings file in
https://github.com/infernojs/inferno/tree/master/packages/inferno/dist/

See that there are multiple typescript errors

This was originally reported to Inferno here:
infernojs/inferno#1377

@zzau13
Copy link

zzau13 commented Aug 30, 2018

in this last version it returns multiple errors of TS2456 "Type alias '' circularly references itself." and TS2315 "Type '' is not generic." with the tsconfig.json as the starter-example, at inferno index.d.ts, with typescript 2.8.3 and 3.0.3. In version 5.4.0 it works correctly.

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

2 participants