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

docs: add await in front of preprocess examples #4404

Merged
merged 1 commit into from Feb 12, 2020

Conversation

PKlknr
Copy link
Contributor

@PKlknr PKlknr commented Feb 12, 2020

This just adds await in front of svelte.preprocess examples to indicate that it returns a Promise. Otherwise, the examples would throw an error.

@Conduitry
Copy link
Member

Good catch. There are still some top-level-await concerns this is sort of glossing over, but this is definitely better than what we have now, thank you!

@Conduitry Conduitry merged commit 7fdae5f into sveltejs:master Feb 12, 2020
jesseskinner pushed a commit to jesseskinner/svelte that referenced this pull request Feb 27, 2020
taylorzane pushed a commit to taylorzane/svelte that referenced this pull request Dec 17, 2020
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.

None yet

2 participants