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

Fix isRoute return type for non exact matches #357

Merged
merged 10 commits into from
Dec 9, 2024
Merged

Conversation

stackoverfloweth
Copy link
Contributor

@stackoverfloweth stackoverfloweth commented Dec 9, 2024

Description

Fixes a bug with the isRoute type guard where non exact matches were not being correctly narrowed.

@stackoverfloweth stackoverfloweth self-assigned this Dec 9, 2024
Copy link

netlify bot commented Dec 9, 2024

Deploy Preview for kitbag-router ready!

Name Link
🔨 Latest commit bf237e9
🔍 Latest deploy log https://app.netlify.com/sites/kitbag-router/deploys/67572a42fb2aba0008489551
😎 Deploy Preview https://deploy-preview-357--kitbag-router.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@stackoverfloweth stackoverfloweth marked this pull request as ready for review December 9, 2024 17:24
@pleek91 pleek91 changed the title Simplify is route Fix isRoute return type for non exact matches Dec 9, 2024
Add test cases and fix generic usage for "Fix isRoute return type for non exact matches"
@pleek91 pleek91 merged commit fe6dd2d into main Dec 9, 2024
6 checks passed
@pleek91 pleek91 deleted the simplify-isRoute branch December 9, 2024 17:36
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

Successfully merging this pull request may close these issues.

2 participants