This commit is contained in:
sameeranageshwar
2026-04-11 18:45:43 -04:00
parent 22298fab1a
commit d2e4d78bda
22 changed files with 619 additions and 16 deletions
+5 -3
View File
@@ -29,14 +29,16 @@ declare module "$app/types" {
type MatcherParam<M> = M extends (param : string) => param is (infer U extends string) ? U : string;
export interface AppTypes {
RouteId(): "/";
RouteId(): "/" | "/history" | "/settings";
RouteParams(): {
};
LayoutParams(): {
"/": Record<string, never>
"/": Record<string, never>;
"/history": Record<string, never>;
"/settings": Record<string, never>
};
Pathname(): "/";
Pathname(): "/" | "/history" | "/settings";
ResolvedPathname(): `${"" | `/${string}`}${ReturnType<AppTypes['Pathname']>}`;
Asset(): "/robots.txt" | string & {};
}