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

feat(router): Update beforeEnter typing #119

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

dethell
Copy link
Contributor

@dethell dethell commented Dec 18, 2024

Updates the beforeEnter typing so that instead of Promise<undefined> we have Promise<unknown> because when implementing dynamic imports in the beforeEnter function the TS linter gives errors about the type of the dynamic import.

@dethell dethell force-pushed the beforeenter-update-typing branch from 7124b76 to 3b4de9b Compare December 18, 2024 22:25
Copy link
Contributor

@chrisgubbels chrisgubbels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this

@chrisgubbels chrisgubbels merged commit a47329d into master Dec 18, 2024
3 checks passed
@chrisgubbels chrisgubbels deleted the beforeenter-update-typing branch December 18, 2024 22:45
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