Commit 2b74f98
Add Flow lib defs for Node.js streams fromWeb/toWeb (facebook#54615)
Summary:
Pull Request resolved: facebook#54615
Since v17 (and stable since v22.17), Node.js has helper methods for converting [Node streams](https://nodejs.org/api/stream.html) to/from [Web streams](https://developer.mozilla.org/en-US/docs/Web/API/Streams_API) (e.g., as returned by global `fetch`). This adds the Flow typings.
- Node docs: https://nodejs.org/api/stream.html#streamreadablefromwebreadablestream-options
Changelog:
[General][Internal] Monorepo Flow typings
Reviewed By: vzaidman
Differential Revision: D87543561
fbshipit-source-id: c76b9014ab3ff61f9ce57be1e01bf456b676433f1 parent 17cba6e commit 2b74f98
1 file changed
+37
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2539 | 2539 | | |
2540 | 2540 | | |
2541 | 2541 | | |
2542 | | - | |
| 2542 | + | |
| 2543 | + | |
| 2544 | + | |
| 2545 | + | |
| 2546 | + | |
| 2547 | + | |
| 2548 | + | |
| 2549 | + | |
2543 | 2550 | | |
2544 | 2551 | | |
2545 | 2552 | | |
| |||
2586 | 2593 | | |
2587 | 2594 | | |
2588 | 2595 | | |
| 2596 | + | |
| 2597 | + | |
| 2598 | + | |
| 2599 | + | |
| 2600 | + | |
| 2601 | + | |
| 2602 | + | |
2589 | 2603 | | |
2590 | 2604 | | |
2591 | 2605 | | |
| |||
2627 | 2641 | | |
2628 | 2642 | | |
2629 | 2643 | | |
2630 | | - | |
2631 | | - | |
2632 | | - | |
2633 | | - | |
2634 | 2644 | | |
2635 | 2645 | | |
2636 | 2646 | | |
| |||
2641 | 2651 | | |
2642 | 2652 | | |
2643 | 2653 | | |
| 2654 | + | |
| 2655 | + | |
| 2656 | + | |
| 2657 | + | |
| 2658 | + | |
| 2659 | + | |
| 2660 | + | |
| 2661 | + | |
| 2662 | + | |
| 2663 | + | |
| 2664 | + | |
| 2665 | + | |
| 2666 | + | |
| 2667 | + | |
| 2668 | + | |
| 2669 | + | |
| 2670 | + | |
| 2671 | + | |
| 2672 | + | |
| 2673 | + | |
| 2674 | + | |
| 2675 | + | |
2644 | 2676 | | |
2645 | 2677 | | |
2646 | 2678 | | |
| |||
0 commit comments