@@ -489,8 +489,7 @@ module Readable = {
489489 external pause : (subtype ([ > readable (' r )] ) as ' rs ) => ' rs = "pause" ;
490490 [@ bs . send ]
491491 external pipe :
492- (subtype ([ > readable (' r )] ), subtype ([ > writable (' r )] ) as ' ws ) =>
493- ' ws =
492+ (subtype ([ > readable (' r )] ), subtype ([ > writable (' r )] ) as ' ws ) => ' ws =
494493 "pipe" ;
495494 [@ bs . send ]
496495 external push : (subtype ([ > readable (' r )] ), ' r ) => unit = "push" ;
@@ -522,8 +521,7 @@ module Readable = {
522521 external resume : (subtype ([ > readable (' r )] ) as ' rs ) => ' rs = "resume" ;
523522 [@ bs . send ]
524523 external unpipe :
525- (subtype ([ > readable (' r )] ), subtype ([ > writable (' r )] ) as ' ws ) =>
526- ' ws =
524+ (subtype ([ > readable (' r )] ), subtype ([ > writable (' r )] ) as ' ws ) => ' ws =
527525 "unpipe" ;
528526 [@ bs . send ]
529527 external unshift : (subtype ([ > readable (' r )] ), ' r ) => unit = "unshift" ;
@@ -684,8 +682,7 @@ module Duplex = {
684682 makeOptions (' w , ' r );
685683
686684 [@ bs . module "stream" ] [@ bs . new ]
687- external makeObjMode : makeOptionsObjMode (' w , ' r ) => t (' w , ' r ) =
688- "Duplex" ;
685+ external makeObjMode : makeOptionsObjMode (' w , ' r ) => t (' w , ' r ) = "Duplex" ;
689686};
690687
691688module Transform = {
@@ -767,7 +764,6 @@ module Transform = {
767764 "Transform" ;
768765};
769766
770-
771767module PassThrough = {
772768 type kind (' w , ' r ) = [ passThrough('w, 'r)];
773769 module Events = {
@@ -780,7 +776,8 @@ module PassThrough = {
780776 include Impl ;
781777 type t (' w , ' r ) = subtype(passThrough('w, 'r));
782778 type supertype (' w , ' r , ' ty ) = subtype([< passThrough('w, 'r)] as 'ty);
783- type nonrec subtype (' w , ' r , ' ty ) = subtype([> passThrough('w, 'r)] as 'ty);
779+ type nonrec subtype (' w , ' r , ' ty ) =
780+ subtype([> passThrough('w, 'r)] as 'ty);
784781 [@ bs . module "stream" ] [@ bs . new ]
785782 external make : unit => t (Buffer . t , Buffer . t ) = "PassThrough" ;
786783};
@@ -798,8 +795,7 @@ include Events;
798795type cleanupFn = unit => unit ;
799796
800797[@ bs . module "stream" ]
801- external finished :
802- (subtype (' ty ), Js . nullable (Js . Exn . t ) => unit ) => cleanupFn =
798+ external finished : (subtype (' ty ), Js . nullable (Js . Exn . t ) => unit ) => cleanupFn =
803799 "finished" ;
804800
805801[@ bs . module "stream" ]
@@ -820,7 +816,7 @@ external pipeline3:
820816 subtype ([ > writable (' t2 )] as ' dest ),
821817 Js . nullable (Js . Exn . t ) => unit
822818 ) =>
823- subtype ([ > writable (' t2 ) ] as ' dest ) =
819+ subtype ([ > writable (' t2 )] as ' dest ) =
824820 "pipeline" ;
825821[@ bs . module "stream" ]
826822external pipeline4 :
@@ -832,4 +828,4 @@ external pipeline4:
832828 Js . nullable (Js . Exn . t ) => unit
833829 ) =>
834830 subtype ([ > writable (' t3 )] as ' dest ) =
835- "pipeline" ;
831+ "pipeline" ;
0 commit comments