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

matchRoute export is missing in wouter-preact #484

Closed
remziatay opened this issue Aug 23, 2024 · 3 comments
Closed

matchRoute export is missing in wouter-preact #484

remziatay opened this issue Aug 23, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@remziatay
Copy link

matchRoute helper was exported recently with #456 from wouter package but wouter-preact is missing this export

@molefrog
Copy link
Owner

Hmm... I can see that it is exported here https://www.npmjs.com/package/wouter-preact?activeTab=code in file esm/index.js at the very bottom.

@remziatay
Copy link
Author

Hmm... I can see that it is exported here https://www.npmjs.com/package/wouter-preact?activeTab=code in file esm/index.js at the very bottom.

Oh sorry, then I think the type is not exported. It's not listed in index.d.ts

image

@molefrog molefrog added the bug Something isn't working label Aug 23, 2024
@molefrog
Copy link
Owner

Right, we forgot to export the type. I've fixed this in 3bbf10a

You can upgrade to the latest version and this error should be gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants