Skip to content

Fix prefetch type #517

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

Merged
merged 1 commit into from
May 2, 2019
Merged

Conversation

Stumble
Copy link
Contributor

@Stumble Stumble commented Feb 23, 2019

prefetch type should be ((context: any) => any) | boolean instead of (context: any) => (any | boolean), which cause a ts typecheck error when we pass in a boolean variable.

@Akryum
Copy link
Member

Akryum commented May 2, 2019

Thanks! 👍

@Akryum Akryum merged commit 6bda229 into vuejs:master May 2, 2019
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