Skip to content

Commit 25b93a5

Browse files
Copilothi-ogawa
andcommitted
Fix TypeScript errors: update RscPayload imports in entry.ssr.tsx files
Co-authored-by: hi-ogawa <4232207+hi-ogawa@users.noreply.github.com>
1 parent 4aa52a8 commit 25b93a5

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/plugin-rsc/examples/basic/src/framework/entry.ssr.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React from 'react'
33
import type { ReactFormState } from 'react-dom/client'
44
import { renderToReadableStream } from 'react-dom/server.edge'
55
import { injectRSCPayload } from 'rsc-html-stream/server'
6-
import type { RscPayload } from './entry.rsc'
6+
import type { RscPayload } from './shared'
77

88
export async function renderHTML(
99
rscStream: ReadableStream<Uint8Array>,

packages/plugin-rsc/examples/starter-cf-single/src/framework/entry.ssr.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React from 'react'
33
import type { ReactFormState } from 'react-dom/client'
44
import { renderToReadableStream } from 'react-dom/server.edge'
55
import { injectRSCPayload } from 'rsc-html-stream/server'
6-
import type { RscPayload } from './entry.rsc'
6+
import type { RscPayload } from './shared'
77

88
export type RenderHTML = typeof renderHTML
99

packages/plugin-rsc/examples/starter/src/framework/entry.ssr.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React from 'react'
33
import type { ReactFormState } from 'react-dom/client'
44
import { renderToReadableStream } from 'react-dom/server.edge'
55
import { injectRSCPayload } from 'rsc-html-stream/server'
6-
import type { RscPayload } from './entry.rsc'
6+
import type { RscPayload } from './shared'
77

88
export async function renderHTML(
99
rscStream: ReadableStream<Uint8Array>,

0 commit comments

Comments
 (0)