diff --git a/apps/svelte.dev/content/docs/svelte/98-reference/.generated/compile-errors.md b/apps/svelte.dev/content/docs/svelte/98-reference/.generated/compile-errors.md index c5703c636..94ea46b68 100644 --- a/apps/svelte.dev/content/docs/svelte/98-reference/.generated/compile-errors.md +++ b/apps/svelte.dev/content/docs/svelte/98-reference/.generated/compile-errors.md @@ -561,6 +561,12 @@ Cannot use `await` in deriveds and template expressions, or at the top level of `$host()` can only be used inside custom element component instances ``` +### illegal_await_expression + +``` +`use:`, `transition:` and `animate:` directives, attachments and bindings do not support await expressions +``` + ### illegal_element_attribute ``` diff --git a/apps/svelte.dev/content/docs/svelte/98-reference/30-compiler-errors.md b/apps/svelte.dev/content/docs/svelte/98-reference/30-compiler-errors.md index 351e377cd..0e1713abb 100644 --- a/apps/svelte.dev/content/docs/svelte/98-reference/30-compiler-errors.md +++ b/apps/svelte.dev/content/docs/svelte/98-reference/30-compiler-errors.md @@ -566,6 +566,12 @@ Cannot use `await` in deriveds and template expressions, or at the top level of `$host()` can only be used inside custom element component instances ``` +### illegal_await_expression + +``` +`use:`, `transition:` and `animate:` directives, attachments and bindings do not support await expressions +``` + ### illegal_element_attribute ```