Skip to content

Commit aa7c9f2

Browse files
Sync svelte docs (#1308)
sync svelte docs Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>
1 parent 777de78 commit aa7c9f2

File tree

1 file changed

+1
-1
lines changed
  • apps/svelte.dev/content/docs/svelte/98-reference

1 file changed

+1
-1
lines changed

apps/svelte.dev/content/docs/svelte/98-reference/20-svelte.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ property and can contain any type of data.
239239
The event dispatcher can be typed to narrow the allowed event names and the type of the `detail` argument:
240240
```ts
241241
const dispatch = createEventDispatcher<{
242-
loaded: never; // does not take a detail argument
242+
loaded: null; // does not take a detail argument
243243
change: string; // takes a detail argument of type string, which is required
244244
optional: number | null; // takes an optional detail argument of type number
245245
}>();

0 commit comments

Comments
 (0)