@@ -47,22 +47,23 @@ module WriteStream = {
4747 unit =
4848 "once" ;
4949 };
50+
5051 module Impl = {
5152 include Stream . Writable . Impl ;
5253 [@ bs . send ]
5354 external clearLineLeft :
54- (t , [@ bs . as { json | -1| json } ] _ , ~ callback : unit => unit =? , unit ) => bool =
55+ (t , [@ bs . as { json | -1| json } ] _ , unit => unit , unit ) => bool =
5556 "clearLine" ;
5657 [@ bs . send ]
5758 external clearLineRight :
58- (t , [@ bs . as { json | 1| json } ] _ , ~ callback : unit => unit =? , unit ) => bool =
59+ (t , [@ bs . as { json | 1| json } ] _ , unit => unit , unit ) => bool =
5960 "clearLine" ;
6061 [@ bs . send ]
6162 external clearLine :
62- (t , [@ bs . as { json | 0| json } ] _ , ~ callback : unit => unit =? , unit ) => bool =
63+ (t , [@ bs . as { json | 0| json } ] _ , unit => unit , unit ) => bool =
6364 "clearLine" ;
6465 [@ bs . send ]
65- external clearScreenDown : (t , ~ callback : unit => unit =? , unit ) => bool =
66+ external clearScreenDown : (t , unit => unit , unit ) => bool =
6667 "clearScreenDown" ;
6768 [@ bs . get ] external columns : t => int = "columns" ;
6869 [@ bs . send ] external getColorDepth : t => int = "getColorDepth" ;
@@ -86,4 +87,5 @@ module WriteStream = {
8687 include Impl ;
8788};
8889
89- [@ bs . module "tty" ] external isatty : Fs . fd => bool = "isatty" ;
90+ [@ bs . module "tty" ] external isatty : Fs . fd => bool = "isatty" ;
91+
0 commit comments