From 151d8bb4132892ee71f5ce80686bda3b55018fa6 Mon Sep 17 00:00:00 2001 From: Alistair Smith Date: Mon, 8 Sep 2025 19:51:33 -0700 Subject: [PATCH] refine types for RSC payload handling in bun-framework-react --- packages/bun-framework-react/client.tsx | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/packages/bun-framework-react/client.tsx b/packages/bun-framework-react/client.tsx index 0acc6879ad..dd02dc4a24 100644 --- a/packages/bun-framework-react/client.tsx +++ b/packages/bun-framework-react/client.tsx @@ -42,13 +42,15 @@ function enqueueChunks( } } +type NonNullishReactNode = Exclude; + // The initial RSC payload is put into inline