Closed leoschweizer closed 2 years ago
+1, I am experiencing this exact error as well on "typescript": "^4.7.4"
after updating to v2.0.0.
Hello @leoschweizer,
Apologies about this, thank you for providing some example files to replicate the issue, very helpful 😃
I believe this is now resolved and published as v2.0.1
. I have tested it with your example that I was using to replicate the problem and tested it in a sandbox. I'm not sure how TypeScript is successfully generating invalid files so I'll add that as something to look into to avoid this in the future.
Please open another issue if you continue to have issues.
Thanks 😃
The following minimal setup does not build without type errors for me.
index.ts
tsconfig.json
package.json
results in:
Not sure what I'm missing here but the pathes to 'src' really seem off?
The problem does not occur with v1.4.5