Closed Goodwine closed 2 months ago
Upon further investigation, the issue is that the pack.ts
file is disabling the TS compiler with @ts-ignore
, which downstream dependencies do not ignore because the generated .d.ts
types do not include this comment.
So the solution should be removing // @ts-ignore
or generating types that include the compiler-check-disabling comment
According to the types, I believe the compiler error is actually correct and shouldn't be disabled. Whether that means that Minipass or Tar type declarations are incorrect, I don't know, but one of those is incorrect.
Thanks for the repro case, that made it much clearer!
Should work fine on 7.4.2.
Thanks for the repro case, that made it much clearer!
Should work fine on 7.4.2.
Resolved what I had observed on my system - thanks!
Repro:
https://gist.github.com/Goodwine/4cc0f2c078c6fb163006633c0ef48fad
Copy the files from the gist and run:
Error:
This has been called out on other bugs that were marked as closed, however the issue is still present as seen on the repro steps: