Fix react and react-dom peer dependencies mismatch #3

This commit is contained in:
2026-04-05 17:58:52 +01:00
parent f49a17b24e
commit d441f9982e
12 changed files with 21 additions and 66 deletions
+3 -4
View File
@@ -1,5 +1,4 @@
import type { BunextPageModule, BunextPageModuleServerReturn, BunxRouteParams } from "../../../types";
import type { JSX } from "react";
import type { BunextPageModule, BunxRouteParams } from "../../../types";
type Params = {
file_path: string;
debug?: boolean;
@@ -8,8 +7,8 @@ type Params = {
routeParams?: BunxRouteParams;
};
export default function grabPageModules({ file_path, debug, url, query, routeParams, }: Params): Promise<{
component: JSX.Element;
serverRes: BunextPageModuleServerReturn;
component: import("react").JSX.Element;
serverRes: import("../../../types").BunextPageModuleServerReturn;
module: BunextPageModule;
root_module: BunextPageModule | undefined;
}>;