diff --git a/documentation/docs/98-reference/30-compiler-errors.md b/documentation/docs/98-reference/30-compiler-errors.md index ebcaa28ef8..9d38dc20a9 100644 --- a/documentation/docs/98-reference/30-compiler-errors.md +++ b/documentation/docs/98-reference/30-compiler-errors.md @@ -3,864 +3,858 @@ title: 'Compiler Errors' generated: 'generated by process-messages/index.js' --- -## options_invalid_value +## `animation_duplicate` ``` -Invalid compiler option: %details% +An element can only have one 'animate' directive ``` -## options_removed +## `animation_invalid_placement` ``` -Invalid compiler option: %details% +An element that uses the `animate:` directive must be the only child of a keyed `{#each ...}` block ``` -## options_unrecognised +## `animation_missing_key` ``` -Unrecognised compiler option %keypath% +An element that uses the `animate:` directive must be the only child of a keyed `{#each ...}` block. Did you forget to add a key to your each block? ``` -## bindable_invalid_location +## `attribute_contenteditable_dynamic` ``` -`$bindable()` can only be used inside a `$props()` declaration +'contenteditable' attribute cannot be dynamic if element uses two-way binding ``` -## constant_assignment +## `attribute_contenteditable_missing` ``` -Cannot assign to %thing% +'contenteditable' attribute is required for textContent, innerHTML and innerText two-way bindings ``` -## constant_binding +## `attribute_duplicate` ``` -Cannot bind to %thing% +Attributes need to be unique ``` -## declaration_duplicate +## `attribute_empty_shorthand` ``` -`%name%` has already been declared +Attribute shorthand cannot be empty ``` -## declaration_duplicate_module_import +## `attribute_invalid_event_handler` ``` -Cannot declare a variable with the same name as an import inside `