From bb5ad3b9a0ed4d26b43beb413063e520368e425e Mon Sep 17 00:00:00 2001 From: Conduitry Date: Tue, 11 Jan 2022 16:55:21 -0500 Subject: [PATCH] tweak docs about where `{@const}` is allowed --- site/content/docs/02-template-syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/docs/02-template-syntax.md b/site/content/docs/02-template-syntax.md index 34b0509fc1..ae39c18cd9 100644 --- a/site/content/docs/02-template-syntax.md +++ b/site/content/docs/02-template-syntax.md @@ -474,7 +474,7 @@ The `{@const ...}` tag defines a local constant. {/each} ``` -`{@const}` is only allowed as direct child of `{#each}` block, `{#then}` and `{#catch}` block, `` and `` element. +`{@const}` is only allowed as direct child of `{#each}`, `{:then}`, `{:catch}`, `` or ``. ### Element directives