Skip to content

Commit ec60f1c

Browse files
authored
chore: upgrade dts-buddy to 0.5.3 (#12606)
1 parent 33d7c1b commit ec60f1c

File tree

3 files changed

+29
-7
lines changed

3 files changed

+29
-7
lines changed

packages/kit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@types/connect": "^3.4.38",
3838
"@types/node": "^18.19.3",
3939
"@types/set-cookie-parser": "^2.4.7",
40-
"dts-buddy": "0.4.6",
40+
"dts-buddy": "^0.5.3",
4141
"rollup": "^4.14.2",
4242
"svelte": "^4.2.10",
4343
"svelte-preprocess": "^6.0.0",

packages/kit/types/index.d.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1843,6 +1843,8 @@ declare module '@sveltejs/kit' {
18431843
status: 301 | 302 | 303 | 307 | 308 | 300 | 304 | 305 | 306;
18441844
location: string;
18451845
}
1846+
1847+
export {};
18461848
}
18471849

18481850
declare module '@sveltejs/kit/hooks' {
@@ -1914,6 +1916,8 @@ declare module '@sveltejs/kit/hooks' {
19141916
* @param handlers The chain of `handle` functions
19151917
* */
19161918
export function sequence(...handlers: import('@sveltejs/kit').Handle[]): import('@sveltejs/kit').Handle;
1919+
1920+
export {};
19171921
}
19181922

19191923
declare module '@sveltejs/kit/node' {
@@ -1929,6 +1933,8 @@ declare module '@sveltejs/kit/node' {
19291933
* @since 2.4.0
19301934
*/
19311935
export function createReadableStream(file: string): ReadableStream;
1936+
1937+
export {};
19321938
}
19331939

19341940
declare module '@sveltejs/kit/node/polyfills' {
@@ -1938,13 +1944,17 @@ declare module '@sveltejs/kit/node/polyfills' {
19381944
* - `File`
19391945
*/
19401946
export function installPolyfills(): void;
1947+
1948+
export {};
19411949
}
19421950

19431951
declare module '@sveltejs/kit/vite' {
19441952
/**
19451953
* Returns the SvelteKit Vite plugins.
19461954
* */
19471955
export function sveltekit(): Promise<import('vite').Plugin[]>;
1956+
1957+
export {};
19481958
}
19491959

19501960
declare module '$app/environment' {
@@ -1967,6 +1977,8 @@ declare module '$app/environment' {
19671977
* The value of `config.kit.version.name`.
19681978
*/
19691979
export const version: string;
1980+
1981+
export {};
19701982
}
19711983

19721984
declare module '$app/forms' {
@@ -2017,6 +2029,8 @@ declare module '$app/forms' {
20172029
* In case of an error, it redirects to the nearest error page.
20182030
* */
20192031
export function applyAction<Success extends Record<string, unknown> | undefined, Failure extends Record<string, unknown> | undefined>(result: import("@sveltejs/kit").ActionResult<Success, Failure>): Promise<void>;
2032+
2033+
export {};
20202034
}
20212035

20222036
declare module '$app/navigation' {
@@ -2130,6 +2144,8 @@ declare module '$app/navigation' {
21302144
* */
21312145
export function replaceState(url: string | URL, state: App.PageState): void;
21322146
type MaybePromise<T> = T | Promise<T>;
2147+
2148+
export {};
21332149
}
21342150

21352151
declare module '$app/paths' {
@@ -2161,6 +2177,8 @@ declare module '$app/paths' {
21612177
* ```
21622178
*/
21632179
export function resolveRoute(id: string, params: Record<string, string | undefined>): string;
2180+
2181+
export {};
21642182
}
21652183

21662184
declare module '$app/server' {
@@ -2177,6 +2195,8 @@ declare module '$app/server' {
21772195
* @since 2.4.0
21782196
*/
21792197
export function read(asset: string): Response;
2198+
2199+
export {};
21802200
}
21812201

21822202
declare module '$app/stores' {
@@ -2211,6 +2231,8 @@ declare module '$app/stores' {
22112231
export const updated: import('svelte/store').Readable<boolean> & {
22122232
check(): Promise<boolean>;
22132233
};
2234+
2235+
export {};
22142236
}/**
22152237
* It's possible to tell SvelteKit how to type objects inside your app by declaring the `App` namespace. By default, a new project will have a file called `src/app.d.ts` containing the following:
22162238
*

pnpm-lock.yaml

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)