Skip to content

Commit 83881c6

Browse files
Sync svelte docs (#1092)
sync svelte docs Co-authored-by: Rich-Harris <1162160+Rich-Harris@users.noreply.github.com>
1 parent de5ce63 commit 83881c6

File tree

1 file changed

+3
-4
lines changed
  • apps/svelte.dev/content/docs/svelte/03-template-syntax

1 file changed

+3
-4
lines changed

apps/svelte.dev/content/docs/svelte/03-template-syntax/12-use.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,16 @@ The `Action` interface receives three optional type arguments — a node type (w
5151
```svelte
5252
<!--- file: App.svelte --->
5353
<script>
54-
import { on } from 'svelte/events';
55-
5654
/**
5755
* @type {import('svelte/action').Action<
5856
* HTMLDivElement,
59-
* null,
57+
* undefined,
6058
* {
6159
* onswiperight: (e: CustomEvent) => void;
6260
* onswipeleft: (e: CustomEvent) => void;
6361
* // ...
64-
* }>}
62+
* }
63+
* >}
6564
*/
6665
function gestures(node) {
6766
$effect(() => {

0 commit comments

Comments
 (0)