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(types): accept sync serverPrefetch() #7000

Merged
merged 1 commit into from
Feb 1, 2023
Merged

Conversation

antfu
Copy link
Member

@antfu antfu commented Nov 1, 2022

Currently serverPrefetch() explicitly requires returning a Promise, making the sync version not acceptable on types.

image

@yyx990803 yyx990803 merged commit 5f1883e into main Feb 1, 2023
@yyx990803 yyx990803 deleted the fix/sync-serverPrefetch branch February 1, 2023 08:15
zhangzhonghe pushed a commit to zhangzhonghe/core that referenced this pull request Apr 12, 2023
IAmSSH pushed a commit to IAmSSH/core that referenced this pull request May 14, 2023
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