From eb33944dee06526bb18a1579c2b728afdd89b15b Mon Sep 17 00:00:00 2001 From: Paolo Ricciuti Date: Mon, 26 May 2025 12:04:14 +0200 Subject: [PATCH] docs: clarify `customElement.extend` is not processed by poreprocessors Co-authored-by: Dominik G. --- documentation/docs/07-misc/04-custom-elements.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/docs/07-misc/04-custom-elements.md b/documentation/docs/07-misc/04-custom-elements.md index 8dbcdd25a3..7e6a17b947 100644 --- a/documentation/docs/07-misc/04-custom-elements.md +++ b/documentation/docs/07-misc/04-custom-elements.md @@ -114,7 +114,7 @@ When constructing a custom element, you can tailor several aspects by defining ` ... ``` -> [!NOTE] While Typescript is supported in the `extend` function is subject to the same limitations of the script tags: you need to set `lang="ts"` on one of the scripts AND you can only use [erasable syntax](https://www.typescriptlang.org/tsconfig/#erasableSyntaxOnly) in it. +> [!NOTE] While Typescript is supported in the `extend` function, it is subject to limitations: you need to set `lang="ts"` on one of the scripts AND you can only use [erasable syntax](https://www.typescriptlang.org/tsconfig/#erasableSyntaxOnly) in it. They are not processed by script preprocessors. ## Caveats and limitations