Skip to content

Commit

Permalink
fix: one more ssrManifest
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Dec 10, 2024
1 parent c743266 commit 94b002d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/child-process/src/entry-ssr.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default async function handler(request: Request): Promise<Response> {
const rscPromise = ReactClient.createFromReadableStream<StreamData>(
rscStream1,
{
ssrManifest: {},
serverConsumerManifest: {},
},
);

Expand Down
2 changes: 1 addition & 1 deletion examples/react-server/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export type ModuleMap = {
};
};

export interface SsrManifest {
export interface ServerConsumerManifest {
moduleMap: ModuleMap;
// TODO
serverModuleMap?: unknown;
Expand Down
2 changes: 1 addition & 1 deletion examples/react-server/src/types/react-modules.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ declare module "react-server-dom-webpack/client.edge" {
export function createFromReadableStream<T>(
stream: ReadableStream<Uint8Array>,
options: {
serverConsumerManifest: import(".").SsrManifest;
serverConsumerManifest: import(".").ServerConsumerManifest;
},
): Promise<T>;
}
Expand Down

0 comments on commit 94b002d

Please sign in to comment.