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

remove unused optional checks #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rossrobino
Copy link

This and medley/router are great projects!

I'm working on my own version (https://github.com/rossrobino/robino/tree/main/packages/router) of this and noticed that there are a couple of optional checks that can be removed since the store is early returned if there are optionalParams.

In these cases optionalParams will always be null.

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.

1 participant