Skip to content

Commit be56361

Browse files
authored
fix(sveltekit): Make handleErrorWithSentry parameter optional in function declaration (#7487)
1 parent ad32f94 commit be56361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/sveltekit/src/index.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import type * as serverSdk from './server';
1818
export declare function init(options: Options | clientSdk.BrowserOptions | serverSdk.NodeOptions): void;
1919

2020
export declare function handleErrorWithSentry<T extends HandleClientError | HandleServerError>(
21-
handleError: T,
21+
handleError?: T,
2222
): ReturnType<T>;
2323

2424
export declare function wrapLoadWithSentry<S extends ServerLoad>(origLoad: S): S;

0 commit comments

Comments
 (0)