Skip to content

Commit

Permalink
Add missing supported types
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmarkbage committed Jun 13, 2023
1 parent 4fc5e9c commit cf2cdec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/react-client/src/ReactFlightReplyClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,12 @@ export type ReactServerValue =
| symbol
| null
| void
| bigint
| Iterable<ReactServerValue>
| Array<ReactServerValue>
| Map<ReactServerValue, ReactServerValue>
| Set<ReactServerValue>
| Date
| ReactServerObject
| Promise<ReactServerValue>; // Thenable<ReactServerValue>

Expand Down
2 changes: 2 additions & 0 deletions packages/react-server/src/ReactFlightServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,12 @@ export type ReactClientValue =
| symbol
| null
| void
| bigint
| Iterable<ReactClientValue>
| Array<ReactClientValue>
| Map<ReactClientValue, ReactClientValue>
| Set<ReactClientValue>
| Date
| ReactClientObject
| Promise<ReactClientValue>; // Thenable<ReactClientValue>

Expand Down

0 comments on commit cf2cdec

Please sign in to comment.