Skip to content

Commit 74da462

Browse files
committed
Add console.error and console.trace
1 parent 59763a1 commit 74da462

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jscomp/others/js_console.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
2-
1+
external error : 'a -> unit = "" [@@bs.val] [@@bs.scope "console"]
32
external log : 'a -> unit = "" [@@bs.val] [@@bs.scope "console"]
3+
external trace : unit -> unit = "" [@@bs.val] [@@bs.scope "console"]
44
external warn : 'a -> unit = "" [@@bs.val] [@@bs.scope "console"]
55

66
external timeStart : string -> unit =

0 commit comments

Comments
 (0)