From ed5a48968bf20253e30faa2e9f13af6584afe71e Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Wed, 24 Jul 2024 16:14:23 -0400 Subject: [PATCH] regenerate types --- packages/svelte/types/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/svelte/types/index.d.ts b/packages/svelte/types/index.d.ts index a99f3dfb2a..b393174e0f 100644 --- a/packages/svelte/types/index.d.ts +++ b/packages/svelte/types/index.d.ts @@ -373,8 +373,6 @@ declare module 'svelte' { * Synchronously flushes any pending state changes and those that result from it. * */ export function flushSync(fn?: (() => void) | undefined): void; - /** Anything except a function */ - type NotFunction = T extends Function ? never : T; /** * Create a snippet programmatically * */ @@ -382,6 +380,8 @@ declare module 'svelte' { render: () => string; setup?: (element: Element) => void; }): Snippet; + /** Anything except a function */ + type NotFunction = T extends Function ? never : T; /** * Mounts a component to the given target and returns the exports and potentially the props (if compiled with `accessors: true`) of the component. * Transitions will play during the initial render unless the `intro` option is set to `false`.