Skip to content

Commit

Permalink
Update packages/client-react-streaming/src/ManualDataTransport/Manual…
Browse files Browse the repository at this point in the history
…DataTransport.tsx
  • Loading branch information
phryneas authored Apr 8, 2024
1 parent 909bff1 commit 4f5d5de
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export interface ManualDataTransportOptions {
/**
* Prepare data for injecting into the stream by converting it into a string that can be parsed as JavaScript by the browser.
* Could e.g. be `SuperJSON.stringify` or `serialize-javascript`.
* The default implementation act like a JSON.stringify that preserves `undefined`, but not do much on top of that.
*/
stringifyForStream?: (value: any) => string;
/**
Expand Down

0 comments on commit 4f5d5de

Please sign in to comment.