diff --git a/packages/react-ai-sdk/src/rsc/VercelRSCAdapter.tsx b/packages/react-ai-sdk/src/rsc/VercelRSCAdapter.tsx index 8937575ca..297431b28 100644 --- a/packages/react-ai-sdk/src/rsc/VercelRSCAdapter.tsx +++ b/packages/react-ai-sdk/src/rsc/VercelRSCAdapter.tsx @@ -9,9 +9,9 @@ type RSCMessageConverter = { type VercelRSCAdapterBase = { messages: T[]; append: (message: AppendMessage) => Promise; - edit?: (message: AppendMessage) => Promise | undefined; - reload?: (parentId: string | null) => Promise | undefined; - convertMessage?: (message: T) => VercelRSCMessage | undefined; + edit?: ((message: AppendMessage) => Promise) | undefined; + reload?: ((parentId: string | null) => Promise) | undefined; + convertMessage?: ((message: T) => VercelRSCMessage) | undefined; }; export type VercelRSCAdapter = VercelRSCAdapterBase &