Skip to content

Commit

Permalink
chore: upgrade dts-buddy to 0.5.3 (#12606)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored Aug 23, 2024
1 parent 33d7c1b commit ec60f1c
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/connect": "^3.4.38",
"@types/node": "^18.19.3",
"@types/set-cookie-parser": "^2.4.7",
"dts-buddy": "0.4.6",
"dts-buddy": "^0.5.3",
"rollup": "^4.14.2",
"svelte": "^4.2.10",
"svelte-preprocess": "^6.0.0",
Expand Down
22 changes: 22 additions & 0 deletions packages/kit/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1843,6 +1843,8 @@ declare module '@sveltejs/kit' {
status: 301 | 302 | 303 | 307 | 308 | 300 | 304 | 305 | 306;
location: string;
}

export {};
}

declare module '@sveltejs/kit/hooks' {
Expand Down Expand Up @@ -1914,6 +1916,8 @@ declare module '@sveltejs/kit/hooks' {
* @param handlers The chain of `handle` functions
* */
export function sequence(...handlers: import('@sveltejs/kit').Handle[]): import('@sveltejs/kit').Handle;

export {};
}

declare module '@sveltejs/kit/node' {
Expand All @@ -1929,6 +1933,8 @@ declare module '@sveltejs/kit/node' {
* @since 2.4.0
*/
export function createReadableStream(file: string): ReadableStream;

export {};
}

declare module '@sveltejs/kit/node/polyfills' {
Expand All @@ -1938,13 +1944,17 @@ declare module '@sveltejs/kit/node/polyfills' {
* - `File`
*/
export function installPolyfills(): void;

export {};
}

declare module '@sveltejs/kit/vite' {
/**
* Returns the SvelteKit Vite plugins.
* */
export function sveltekit(): Promise<import('vite').Plugin[]>;

export {};
}

declare module '$app/environment' {
Expand All @@ -1967,6 +1977,8 @@ declare module '$app/environment' {
* The value of `config.kit.version.name`.
*/
export const version: string;

export {};
}

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

export {};
}

declare module '$app/navigation' {
Expand Down Expand Up @@ -2130,6 +2144,8 @@ declare module '$app/navigation' {
* */
export function replaceState(url: string | URL, state: App.PageState): void;
type MaybePromise<T> = T | Promise<T>;

export {};
}

declare module '$app/paths' {
Expand Down Expand Up @@ -2161,6 +2177,8 @@ declare module '$app/paths' {
* ```
*/
export function resolveRoute(id: string, params: Record<string, string | undefined>): string;

export {};
}

declare module '$app/server' {
Expand All @@ -2177,6 +2195,8 @@ declare module '$app/server' {
* @since 2.4.0
*/
export function read(asset: string): Response;

export {};
}

declare module '$app/stores' {
Expand Down Expand Up @@ -2211,6 +2231,8 @@ declare module '$app/stores' {
export const updated: import('svelte/store').Readable<boolean> & {
check(): Promise<boolean>;
};

export {};
}/**
* 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:
*
Expand Down
12 changes: 6 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ec60f1c

Please sign in to comment.