You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This slipped my radar for a bit, sorry about that. The reproduction does indeed reproduce and shows tsc working as expected, and the proposed code change does fix up nest build so that it acts like tsc in this case. I'll get a PR made for fixing this done today
Is there an existing issue for this?
Current behavior
generates
This problem was already reported in this closed issue: #783.
Minimum reproduction code
Steps to reproduce
https://github.com/RageYL/nest-cli-type-imports-bug
Expected behavior
No code should be emitted for type only imports.
Package version
8.1.2
NestJS version
8.1.2
Node.js version
14.17.6
In which operating systems have you tested?
Other
From a quick google, we can skip the existing logic in https://github.com/nestjs/nest-cli/blob/master/lib/compiler/hooks/tsconfig-paths.hook.ts#L18 with the following edit:
The text was updated successfully, but these errors were encountered: