Skip to content

Commit 1aca67a

Browse files
committed
make 'Console.dir' allow all values instead of just strings, since the main use case is showing object properties;
1 parent 8d3d7fe commit 1aca67a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ external make2: {.. "stdout": Stream.Writable.subtype('w, 'r, 'a)} => t =
3434
[@bs.send] [@bs.variadic]
3535
external debugMany: (t, array('a)) => unit = "debug";
3636

37-
[@bs.send] external dir: (t, string) => unit = "dir";
37+
[@bs.send] external dir: (t, 'a) => unit = "dir";
3838
[@bs.send] [@bs.variadic] external dirMany: (t, array('a)) => unit = "dir";
3939

4040
[@bs.send] external dirxml: (t, string) => unit = "dirxml";

0 commit comments

Comments
 (0)