diff --git a/packages/svelte/src/main/public.d.ts b/packages/svelte/src/main/public.d.ts index baae7d4d12..f916a158d6 100644 --- a/packages/svelte/src/main/public.d.ts +++ b/packages/svelte/src/main/public.d.ts @@ -196,7 +196,7 @@ declare const SnippetReturn: unique symbol; * You can only call a snippet through the `{@render ...}` tag. */ export interface Snippet { - (...args: T): typeof SnippetReturn & { + (this: void, ...args: T): typeof SnippetReturn & { _: 'functions passed to {@render ...} tags must use the `Snippet` type imported from "svelte"'; }; }