Skip to content

Commit f37c175

Browse files
committed
fix 'Console.clear' type signature; formatting;
1 parent b0eea01 commit f37c175

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Console.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ external make2: {.. "stdout": Stream.Writable.subtype('w, 'a)} => t =
2626
[@bs.send] external assert_: (t, bool) => unit = "assert";
2727
// TODO: reconsider naming
2828
[@bs.send] external assertWithMessage: (t, bool, string) => unit = "assert";
29-
[@bs.send] external clear: (t, unit) => unit = "clear";
29+
[@bs.send] external clear: (t) => unit = "clear";
3030
[@bs.send] external count: (t, string) => unit = "count";
3131
[@bs.send] external countReset: (t, string) => unit = "countReset";
3232

src/Fs.re

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,7 @@ module WriteStream = {
388388
module ReadStream = {
389389
type kind('r) = [ Stream.readable('r) | `FileSystem];
390390
type subtype('r, 'ty) = Stream.subtype([> kind('r)] as 'ty);
391-
type supertype('r, 'ty) =
392-
Stream.subtype([< kind('r)] as 'ty);
391+
type supertype('r, 'ty) = Stream.subtype([< kind('r)] as 'ty);
393392
type t = subtype(Buffer.t, [ kind(Buffer.t)]);
394393
module Impl = {
395394
include Stream.Readable.Impl;

0 commit comments

Comments
 (0)