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
Could not find a declaration file for module just-pipe
#562
Comments
Yeah you can see the issue on arethetypeswrong.github.io - looks like quite a few of these packages are published incorrectly. I'll try to make a PR at some point. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, thanks, love the packages!
I'm using a pretty basic vite vanilla typescript setup and
[email protected]
causes an interesting error:The error goes away if I edit
just-pipe
'spackage.json
to look likejust-compose
's:"exports": { ".": { "require": "./index.js", "default": "./index.mjs", + "types": "./index.d.ts" } },
Here's my tsconfig.json if it helps.
I've always been quite confused about how to specify types in
package.json
but this one seems like a simple fix.The text was updated successfully, but these errors were encountered: