This commit is contained in:
2026-04-18 18:06:21 +01:00
parent b2e92e5792
commit 41e28d7a3e
3 changed files with 29 additions and 3 deletions
+14 -1
View File
@@ -241,7 +241,20 @@ export type BunextPageProps<T extends {
} = {
[k: string]: any;
}> = BunextPageModuleServerReturn<T, Q>;
export type BunextPageModuleServerReturnURLObject = URL & {};
export type BunextPageModuleServerReturnURLObject = {
hash: string;
host: string;
hostname: string;
href: string;
origin: string;
password: string;
pathname: string;
port: string;
protocol: string;
search: string;
searchParams: Record<string, string>;
username: string;
};
export type BunextPageModuleServerRedirect = {
destination: string;
permanent?: boolean;