From e3ae46e186504c001859203a03683d9d63d7075b Mon Sep 17 00:00:00 2001 From: Simon Holthausen Date: Wed, 22 Nov 2023 23:35:46 +0100 Subject: [PATCH] found a prettier bug :) this one formats twice until its end state --- packages/svelte/src/main/public.d.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/svelte/src/main/public.d.ts b/packages/svelte/src/main/public.d.ts index d799204088..6851d3f1d7 100644 --- a/packages/svelte/src/main/public.d.ts +++ b/packages/svelte/src/main/public.d.ts @@ -195,9 +195,7 @@ declare const SnippetReturn: unique symbol; * You can only call a snippet through the `{@render ...}` tag. */ export interface Snippet { - ( - arg: T - ): typeof SnippetReturn & { + (arg: T): typeof SnippetReturn & { _: 'functions passed to {@render ...} tags must use the `Snippet` type imported from "svelte"'; }; }