mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
feat(types): improve page.evaluate types (#6193)
This commit is contained in:
@@ -8,5 +8,5 @@
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export declare type EvaluateFn<T = any> = string | ((arg1: T, ...args: any[]) => any);
|
||||
export declare type EvaluateFn<T = unknown> = string | ((arg1: T, ...args: unknown[]) => unknown);
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user