Skip to content

Commit

Permalink
chore: regenerate types after non-clean merge
Browse files Browse the repository at this point in the history
Follow-up to #6379
  • Loading branch information
mxschmitt committed May 1, 2021
1 parent af92565 commit 6da7e70
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions types/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -380,11 +380,11 @@ export interface Page {
* An example of handling `console` event:
*
* ```js
* page.on('console', msg => {
* page.on('console', async msg => {
* for (let i = 0; i < msg.args().length; ++i)
* console.log(`${i}: ${await msg.args()[i].jsonValue()}`);
* });
* page.evaluate(() => console.log('hello', 5, {foo: 'bar'}));
* await page.evaluate(() => console.log('hello', 5, {foo: 'bar'}));
* ```
*
*/
Expand Down Expand Up @@ -554,11 +554,11 @@ export interface Page {
* An example of handling `console` event:
*
* ```js
* page.on('console', msg => {
* page.on('console', async msg => {
* for (let i = 0; i < msg.args().length; ++i)
* console.log(`${i}: ${await msg.args()[i].jsonValue()}`);
* });
* page.evaluate(() => console.log('hello', 5, {foo: 'bar'}));
* await page.evaluate(() => console.log('hello', 5, {foo: 'bar'}));
* ```
*
*/
Expand Down Expand Up @@ -728,11 +728,11 @@ export interface Page {
* An example of handling `console` event:
*
* ```js
* page.on('console', msg => {
* page.on('console', async msg => {
* for (let i = 0; i < msg.args().length; ++i)
* console.log(`${i}: ${await msg.args()[i].jsonValue()}`);
* });
* page.evaluate(() => console.log('hello', 5, {foo: 'bar'}));
* await page.evaluate(() => console.log('hello', 5, {foo: 'bar'}));
* ```
*
*/
Expand Down Expand Up @@ -902,11 +902,11 @@ export interface Page {
* An example of handling `console` event:
*
* ```js
* page.on('console', msg => {
* page.on('console', async msg => {
* for (let i = 0; i < msg.args().length; ++i)
* console.log(`${i}: ${await msg.args()[i].jsonValue()}`);
* });
* page.evaluate(() => console.log('hello', 5, {foo: 'bar'}));
* await page.evaluate(() => console.log('hello', 5, {foo: 'bar'}));
* ```
*
*/
Expand Down Expand Up @@ -1076,11 +1076,11 @@ export interface Page {
* An example of handling `console` event:
*
* ```js
* page.on('console', msg => {
* page.on('console', async msg => {
* for (let i = 0; i < msg.args().length; ++i)
* console.log(`${i}: ${await msg.args()[i].jsonValue()}`);
* });
* page.evaluate(() => console.log('hello', 5, {foo: 'bar'}));
* await page.evaluate(() => console.log('hello', 5, {foo: 'bar'}));
* ```
*
*/
Expand Down Expand Up @@ -2937,11 +2937,11 @@ export interface Page {
* An example of handling `console` event:
*
* ```js
* page.on('console', msg => {
* page.on('console', async msg => {
* for (let i = 0; i < msg.args().length; ++i)
* console.log(`${i}: ${await msg.args()[i].jsonValue()}`);
* });
* page.evaluate(() => console.log('hello', 5, {foo: 'bar'}));
* await page.evaluate(() => console.log('hello', 5, {foo: 'bar'}));
* ```
*
*/
Expand Down

0 comments on commit 6da7e70

Please sign in to comment.