Permalink
Browse files

Reconcile types of two queryObjects functions

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 25cda070b845633c654c7ba2b7ff4ce0db9734f1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ExecutionContext.re
@@ -22,5 +22,5 @@ external name: t => string = "";
*/
[@bs.send]
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.