puppeteer/utils/doclint/check_public_api
Jack Franklin 6474edb9ba
feat(types): add types for $eval (#6135)
This pulls in the types (based on the DefinitelyTyped repo) for
`page.$eval` (and the `$eval` method on other classes). The `$eval`
method is quite hard to type due to the way we wrap and unwrap
ElementHandles that are passed to / returned from the `pageFunction`
that users provide.

Longer term we can improve the types by providing type overloads as
DefinitelyTyped does but I've deferred that for now (see the `TODO` in
the code for more details).
2020-07-02 10:09:34 +01:00
..
test chore: migrate remaining tests to Mocha (#5616) 2020-04-09 20:12:32 +02:00
Documentation.js docs: replace @return with @returns (#6006) 2020-06-12 12:38:24 +02:00
index.js feat(types): add types for $eval (#6135) 2020-07-02 10:09:34 +01:00
JSBuilder.js docs: replace @return with @returns (#6006) 2020-06-12 12:38:24 +02:00
MDBuilder.js docs: replace @return with @returns (#6006) 2020-06-12 12:38:24 +02:00