Files
Stackq/.svelte-kit/non-ambient.d.ts
T

58 lines
2.1 KiB
TypeScript

// this file is generated — do not edit it
declare module "svelte/elements" {
export interface HTMLAttributes<T> {
'data-sveltekit-keepfocus'?: true | '' | 'off' | undefined | null;
'data-sveltekit-noscroll'?: true | '' | 'off' | undefined | null;
'data-sveltekit-preload-code'?:
| true
| ''
| 'eager'
| 'viewport'
| 'hover'
| 'tap'
| 'off'
| undefined
| null;
'data-sveltekit-preload-data'?: true | '' | 'hover' | 'tap' | 'off' | undefined | null;
'data-sveltekit-reload'?: true | '' | 'off' | undefined | null;
'data-sveltekit-replacestate'?: true | '' | 'off' | undefined | null;
}
}
export {};
declare module "$app/types" {
export interface AppTypes {
RouteId(): "/" | "/access-denied" | "/accounts" | "/accounts/new" | "/accounts/[id]" | "/items" | "/items/[id]" | "/login" | "/logout" | "/receipts" | "/receipts/new" | "/receipts/[id]" | "/transactions" | "/transactions/new" | "/transactions/[id]";
RouteParams(): {
"/accounts/[id]": { id: string };
"/items/[id]": { id: string };
"/receipts/[id]": { id: string };
"/transactions/[id]": { id: string }
};
LayoutParams(): {
"/": { id?: string };
"/access-denied": Record<string, never>;
"/accounts": { id?: string };
"/accounts/new": Record<string, never>;
"/accounts/[id]": { id: string };
"/items": { id?: string };
"/items/[id]": { id: string };
"/login": Record<string, never>;
"/logout": Record<string, never>;
"/receipts": { id?: string };
"/receipts/new": Record<string, never>;
"/receipts/[id]": { id: string };
"/transactions": { id?: string };
"/transactions/new": Record<string, never>;
"/transactions/[id]": { id: string }
};
Pathname(): "/" | "/accounts" | "/accounts/new" | `/accounts/${string}` & {} | "/items" | `/items/${string}` & {} | "/login" | "/logout" | "/receipts" | "/receipts/new" | `/receipts/${string}` & {} | "/transactions" | "/transactions/new" | `/transactions/${string}` & {};
ResolvedPathname(): `${"" | `/${string}`}${ReturnType<AppTypes['Pathname']>}`;
Asset(): "/icon.svg" | string & {};
}
}