From d2ed2ca32918eab7da531a42021946f6149afdc4 Mon Sep 17 00:00:00 2001 From: Simon H <5968653+dummdidumm@users.noreply.github.com> Date: Tue, 15 Aug 2023 16:07:33 +0200 Subject: [PATCH] docs: note ambient module info (#9106) --- documentation/docs/05-misc/03-typescript.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/documentation/docs/05-misc/03-typescript.md b/documentation/docs/05-misc/03-typescript.md index 32580ca644..00bf2e826b 100644 --- a/documentation/docs/05-misc/03-typescript.md +++ b/documentation/docs/05-misc/03-typescript.md @@ -156,6 +156,8 @@ declare module 'svelte/elements' { 'veryexperimentalattribute'?: string; } } + +export {}; // ensure this is not an ambient module, else types will be overridden instead of augmented ``` ## Experimental advanced typings