@@ -2982,12 +2982,12 @@ declare module '$app/navigation' {
29822982 * @param {Object } opts Options related to the navigation
29832983 * */
29842984 export function goto ( url : string | URL , opts ?: {
2985- replaceState ?: boolean ;
2986- noScroll ?: boolean ;
2987- keepFocus ?: boolean ;
2988- invalidateAll ?: boolean ;
2989- invalidate ?: Array < string | URL | ( ( url : URL ) => boolean ) > ;
2990- state ?: App . PageState ;
2985+ replaceState ?: boolean | undefined ;
2986+ noScroll ?: boolean | undefined ;
2987+ keepFocus ?: boolean | undefined ;
2988+ invalidateAll ?: boolean | undefined ;
2989+ invalidate ?: ( string | URL | ( ( url : URL ) => boolean ) ) [ ] | undefined ;
2990+ state ?: App . PageState | undefined ;
29912991 } ) : Promise < void > ;
29922992 /**
29932993 * Causes any `load` functions belonging to the currently active page to re-run if they depend on the `url` in question, via `fetch` or `depends`. Returns a `Promise` that resolves when the page is subsequently updated.
@@ -3251,7 +3251,7 @@ declare module '$app/server' {
32513251 export function prerender < Output > ( fn : ( ) => MaybePromise < Output > , options ?: {
32523252 inputs ?: RemotePrerenderInputsGenerator < void > ;
32533253 dynamic ?: boolean ;
3254- } ) : RemotePrerenderFunction < void , Output > ;
3254+ } | undefined ) : RemotePrerenderFunction < void , Output > ;
32553255 /**
32563256 * Creates a remote prerender function. When called from the browser, the function will be invoked on the server via a `fetch` call.
32573257 *
@@ -3262,7 +3262,7 @@ declare module '$app/server' {
32623262 export function prerender < Input , Output > ( validate : "unchecked" , fn : ( arg : Input ) => MaybePromise < Output > , options ?: {
32633263 inputs ?: RemotePrerenderInputsGenerator < Input > ;
32643264 dynamic ?: boolean ;
3265- } ) : RemotePrerenderFunction < Input , Output > ;
3265+ } | undefined ) : RemotePrerenderFunction < Input , Output > ;
32663266 /**
32673267 * Creates a remote prerender function. When called from the browser, the function will be invoked on the server via a `fetch` call.
32683268 *
@@ -3273,7 +3273,7 @@ declare module '$app/server' {
32733273 export function prerender < Schema extends StandardSchemaV1 , Output > ( schema : Schema , fn : ( arg : StandardSchemaV1 . InferOutput < Schema > ) => MaybePromise < Output > , options ?: {
32743274 inputs ?: RemotePrerenderInputsGenerator < StandardSchemaV1 . InferInput < Schema > > ;
32753275 dynamic ?: boolean ;
3276- } ) : RemotePrerenderFunction < StandardSchemaV1 . InferInput < Schema > , Output > ;
3276+ } | undefined ) : RemotePrerenderFunction < StandardSchemaV1 . InferInput < Schema > , Output > ;
32773277 /**
32783278 * Creates a remote query. When called from the browser, the function will be invoked on the server via a `fetch` call.
32793279 *
0 commit comments