Permalink
Browse files

Add Browser.targets()

  • Loading branch information...
zploskey committed Jun 8, 2018
1 parent db8431c commit 64f8105e7b87d6dc9709b2697967e1c379b93ed4
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/Browser.re
@@ -14,8 +14,10 @@ external empty : unit => t = "%identity";
[@bs.send] [@bs.return nullable]
external process : t => option(Node.Process.t) = "";

[@bs.send] external targets : t => array(Target.t) = "";

[@bs.send] external userAgent : t => Js.Promise.t(string) = "";

[@bs.send] external version : t => Js.Promise.t(string) = "";

[@bs.send] external wsEndpoint : t => string = "";

[@bs.send] external userAgent : t => Js.Promise.t(string) = "";

0 comments on commit 64f8105

Please sign in to comment.