Skip to content

Commit

Permalink
Merge pull request #486 from peakercope/fix-afterPageLoad-types
Browse files Browse the repository at this point in the history
fix: afterPageLoad helper incorrect types
  • Loading branch information
jakobrosenberg authored Apr 28, 2023
2 parents 3da4d66 + d685a2a commit 837f0a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions typings/runtime/helpers.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,9 @@ export type ContextHelperStore = import("svelte/store").Readable<{
}>;
export type ReadyHelper = () => void;
export type ReadyHelperStore = import("svelte/store").Readable<() => void>;
export type AfterPageLoadHelper = (callback: (page?: ClientNodeApi) => boolean) => any;
export type AfterPageLoadHelper = (callback: (page?: ClientNodeApi) => void) => any;
export type AfterPageLoadHelperStore = import("svelte/store").Readable<AfterPageLoadHelper> & {
_hooks: Array<(page?: ClientNodeApi) => boolean>;
_hooks: Array<(page?: ClientNodeApi) => void>;
};
export type BeforeUrlChangeHelper = (callback: (event?: PopStateEvent, route?: ClientNodeApi) => boolean) => any;
export type BeforeUrlChangeHelperStore = import("svelte/store").Readable<BeforeUrlChangeHelper> & {
Expand Down

0 comments on commit 837f0a5

Please sign in to comment.