We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1f45ca commit 0b53907Copy full SHA for 0b53907
2 files changed
packages/plugin-rsc/examples/basic/src/framework/use-cache-runtime.tsx
@@ -50,7 +50,7 @@ export default function cacheWrapper(fn: (...args: any[]) => Promise<unknown>) {
50
})
51
52
// run the original function
53
- const result = await fn(...(decodedArgs as any[]))
+ const result = await fn(...decodedArgs)
54
55
// serialize result to a ReadableStream
56
const stream = renderToReadableStream(result, {
packages/plugin-rsc/examples/react-router/react-router-vite/entry.rsc.tsx
@@ -15,7 +15,7 @@ export function fetchServer(request: Request) {
15
createTemporaryReferenceSet,
16
decodeAction,
17
decodeFormState,
18
- decodeReply: decodeReply as any,
+ decodeReply,
19
loadServerAction,
20
// The incoming request.
21
request,
0 commit comments