Skip to content
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

Types missing on NPM, need a new version pushed? #114

Open
thequailman opened this issue Mar 9, 2023 · 1 comment
Open

Types missing on NPM, need a new version pushed? #114

thequailman opened this issue Mar 9, 2023 · 1 comment

Comments

@thequailman
Copy link

Hello, I am trying to use mithril-query with types but it looks like the latest version on NPM (4.0.1) doesn't include the types property in package.json. I'm not sure what commit built it, but could you push a new version to NPM with the current code in master?

For now, I'm using "mithril-query": "git+https://github.com/mithriljs/mithril-query.git#facf7ce" in my package.json and it works OK.

@thequailman thequailman changed the title Types missing, need a new version pushed? Types missing on NPM, need a new version pushed? Mar 9, 2023
@mindreframer
Copy link

@StephanHoyer Yes, the published version on NPM does not have the "types" property in package.json. Just added it manually and it fixes the typing problem. And since it's already present in this repo, publishing a 4.0.2 with proper package.json would fix that issue.

Please consider doing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants