From 8b1f2717f5d9e399cdf18191660fcec01d78cb39 Mon Sep 17 00:00:00 2001 From: Felipe Date: Sat, 21 Dec 2024 15:26:10 +0000 Subject: [PATCH 1/3] Update 12-use.md - --- documentation/docs/03-template-syntax/12-use.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/docs/03-template-syntax/12-use.md b/documentation/docs/03-template-syntax/12-use.md index f3db72a7725b..c59edc902fe2 100644 --- a/documentation/docs/03-template-syntax/12-use.md +++ b/documentation/docs/03-template-syntax/12-use.md @@ -55,7 +55,7 @@ The `Action` interface receives three optional type arguments — a node type (w /** * @type {import('svelte/action').Action< * HTMLDivElement, - * null, + * undefined, * { * onswiperight: (e: CustomEvent) => void; * onswipeleft: (e: CustomEvent) => void; From 5399535bd142e4394cfe406b496ae527a7ea0fcd Mon Sep 17 00:00:00 2001 From: Felipe Santos Date: Sat, 21 Dec 2024 16:06:00 +0000 Subject: [PATCH 2/3] Remove unecessary line in Action typing example --- documentation/docs/03-template-syntax/12-use.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/documentation/docs/03-template-syntax/12-use.md b/documentation/docs/03-template-syntax/12-use.md index c59edc902fe2..8de7a9a4a42d 100644 --- a/documentation/docs/03-template-syntax/12-use.md +++ b/documentation/docs/03-template-syntax/12-use.md @@ -50,8 +50,6 @@ The `Action` interface receives three optional type arguments — a node type (w ```svelte