Skip to content

Commit

Permalink
Reconcile types of two queryObjects functions
Browse files Browse the repository at this point in the history
Page and ExecutionContext both have a queryObjects function. One
just calls the other internally in in Puppeteer. This changes the
ExecutionContext version to wrap a generic type so that its
signature matches the version in Page.
  • Loading branch information
zploskey committed Sep 13, 2018
1 parent 6127565 commit 25cda07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ExecutionContext.re
Expand Up @@ -22,5 +22,5 @@ external name: t => string = "";
*/ */
[@bs.send] [@bs.send]
external queryObjects: external queryObjects:
(t, ~prototypeHandle: JSHandle.t('a)) => JSHandle.t(array(Js.t({..}))) = (t, ~prototypeHandle: JSHandle.t('a)) => JSHandle.t(array('b)) =
""; "";

0 comments on commit 25cda07

Please sign in to comment.