Permalink
Browse files

Move Page.type_() and typeOptions to FrameBase

Feel free to type into Frames.
  • Loading branch information...
zploskey committed Jun 8, 2018
1 parent ee135af commit 840364d4a7d3fd29e0d4dda73424055af3c816c2
Showing with 7 additions and 7 deletions.
  1. +7 −0 src/FrameBase.re
  2. +0 −7 src/Page.re
@@ -421,3 +421,10 @@ external select :

[@bs.send.pipe: t]
external tap : (~selector: string) => Js.Promise.t(unit) = "";

type typeOptions = {. "delay": float};

[@bs.send.pipe: t]
external type_ :
(string, string, ~options: typeOptions=?, unit) => Js.Promise.t(unit) =
"type";
@@ -217,13 +217,6 @@ external setExtraHTTPHeaders :
(~headers: Js.Dict.t(string), unit) => Js.Promise.t(unit) =
"";

type typeOptions = {. "delay": float};

[@bs.send.pipe: t]
external type_ :
(string, string, ~options: typeOptions=?, unit) => Js.Promise.t(unit) =
"type";

[@bs.send.pipe: t] [@bs.splice]
external deleteCookie : array(cookie) => Js.Promise.t(unit) = "";

0 comments on commit 840364d

Please sign in to comment.