Open Havunen opened 6 years ago
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.
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: https://github.com/infernojs/inferno/issues/1377