sveltekit_shim_app_paths.ts

Declarations
#

This file is created dynamically by render_sveltekit_shim_app_paths but exists here for the sake of the Node loader. There may be a cleaner workaround but I couldn't find it. @see https://github.com/nodejs/loaders for details about the forthcoming virtual file support

5 declarations

view source

asset
#

sveltekit_shim_app_paths.ts view source

(file: "/CNAME" | "/favicon.png" | "/logo.svg" | "/robots.txt" | (string & {})): string

file

type "/CNAME" | "/favicon.png" | "/logo.svg" | "/robots.txt" | (string & {})

returns

string

assets
#

base
#

resolve
#

sveltekit_shim_app_paths.ts view source

<T extends RouteId | Pathname>(...args: ResolveArgs<T>): "/" | "/about" | "/docs" | "/docs/api" | "/docs/library" | "/history" | `${`/docs/api/${string}` & {}}` | `${`/docs/api/${string}/` & {}}` | ... 12 more ... | `/${string}/history/`

args

type ResolveArgs<T>

returns

"/" | "/about" | "/docs" | "/docs/api" | "/docs/library" | "/history" | `${`/docs/api/${string}` & {}}` | `${`/docs/api/${string}/` & {}}` | `/${string}/` | `/${string}/about` | `/${string}/docs` | `/${string}/docs/api` | `/${string}/docs/library` | `/${string}/history` | ... 6 more ... | `/${string}/history/`

resolveRoute
#

sveltekit_shim_app_paths.ts view source

<T extends RouteId | Pathname>(...args: ResolveArgs<T>) => "/" | "/about" | "/docs" | "/docs/api" | "/docs/library" | "/history" | `${`/docs/api/${string}` & {}}` | `${`/docs/api/${string}/` & {}}` | ... 12 more ... | `/${string}/history/`