mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: fix ESLint violation and lessen rule strictness (#6081)
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
waitForFunction(pageFunction: Function, options?: {
|
||||
waitForFunction(pageFunction: Function | string, options?: {
|
||||
timeout?: number;
|
||||
polling?: string | number;
|
||||
}, ...args: unknown[]): Promise<JSHandle>;
|
||||
@@ -17,7 +17,7 @@ waitForFunction(pageFunction: Function, options?: {
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| pageFunction | Function | |
|
||||
| pageFunction | Function \| string | |
|
||||
| options | { timeout?: number; polling?: string \| number; } | |
|
||||
| args | unknown\[\] | |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user