From 4543ff43843cc9e6da51addb81daec713db8c1b0 Mon Sep 17 00:00:00 2001 From: dominikg Date: Thu, 19 Oct 2023 20:13:50 +0200 Subject: [PATCH] fix: regenerate types --- packages/vite-plugin-svelte/types/index.d.ts | 28 ++++++++++--------- .../vite-plugin-svelte/types/index.d.ts.map | 2 +- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/packages/vite-plugin-svelte/types/index.d.ts b/packages/vite-plugin-svelte/types/index.d.ts index a12f4da56..2e463aab0 100644 --- a/packages/vite-plugin-svelte/types/index.d.ts +++ b/packages/vite-plugin-svelte/types/index.d.ts @@ -122,20 +122,7 @@ declare module '@sveltejs/vite-plugin-svelte' { * @see https://svelte.dev/docs#svelte_compile */ compilerOptions?: Omit; - /** - * Handles warning emitted from the Svelte compiler - */ - onwarn?: (warning: Warning, defaultHandler?: (warning: Warning) => void) => void; - /** - * Options for vite-plugin-svelte - */ - vitePlugin?: PluginOptions; - } - /** - * These options are considered experimental and breaking changes to them can occur in any release - */ - interface ExperimentalOptions { /** * A function to update `compilerOptions` before compilation * @@ -160,6 +147,21 @@ declare module '@sveltejs/vite-plugin-svelte' { code: string; compileOptions: Partial; }) => Promise | void> | Partial | void; + + /** + * Handles warning emitted from the Svelte compiler + */ + onwarn?: (warning: Warning, defaultHandler?: (warning: Warning) => void) => void; + /** + * Options for vite-plugin-svelte + */ + vitePlugin?: PluginOptions; + } + + /** + * These options are considered experimental and breaking changes to them can occur in any release + */ + interface ExperimentalOptions { /** * send a websocket message with svelte compiler warnings during dev * diff --git a/packages/vite-plugin-svelte/types/index.d.ts.map b/packages/vite-plugin-svelte/types/index.d.ts.map index 0aa46cbe2..558419051 100644 --- a/packages/vite-plugin-svelte/types/index.d.ts.map +++ b/packages/vite-plugin-svelte/types/index.d.ts.map @@ -19,5 +19,5 @@ null, null ], - "mappings": ";;;;;iBA0BgBA,MAAMA;;;WClBLC,mBAAmBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBCQpBC,cAAcA;iBCgBRC,gBAAgBA" + "mappings": ";;;;;iBA0BgBA,MAAMA;;;WClBLC,mBAAmBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBCOpBC,cAAcA;iBCiBRC,gBAAgBA" } \ No newline at end of file