sveltekit_shim_app_paths.ts view source
(file: ".nojekyll" | "CNAME" | "favicon.png" | "logo.svg" | "robots.txt"): string import {asset} from '@fuzdev/gro/sveltekit_shim_app_paths.js'; file
AssetPathreturns
string 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
3 declarations
sveltekit_shim_app_paths.ts view source
(file: ".nojekyll" | "CNAME" | "favicon.png" | "logo.svg" | "robots.txt"): string import {asset} from '@fuzdev/gro/sveltekit_shim_app_paths.js'; fileAssetPathstring sveltekit_shim_app_paths.ts view source
(url: string | URL): Promise<{ id: "/"; params: Record<string, never>; } | { id: "/about"; params: Record<string, never>; } | { id: "/docs"; params: Record<string, never>; } | ... 5 more ... | null> import {match} from '@fuzdev/gro/sveltekit_shim_app_paths.js'; urlstring | URLPromise<{ id: "/"; params: Record<string, never>; } | { id: "/about"; params: Record<string, never>; } | { id: "/docs"; params: Record<string, never>; } | { id: "/docs/api"; params: Record<string, never>; } | { id: "/docs/api/[...module_path]"; params: { module_path: string; }; } | { id: "/docs/introduction"; params: Record<string, never>; } | { id: "/docs/library"; params: Record<string, never>; } | { id: "/history"; params: Record<string, never>; } | null>
sveltekit_shim_app_paths.ts view source
<T extends RouteIdWithSearchOrHash | PathnameWithSearchOrHash>(...args: ResolveArgs<T>): "/" | "/about" | "/docs" | "/docs/api" | "/docs/introduction" | "/docs/library" | ... 9 more ... | `/${string}/history` import {resolve} from '@fuzdev/gro/sveltekit_shim_app_paths.js'; argsResolveArgs<T>ResolvedPathname