mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
7487598433
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
14 lines
263 B
Markdown
14 lines
263 B
Markdown
---
|
|
sidebar_label: HandleFor
|
|
---
|
|
|
|
# HandleFor type
|
|
|
|
#### Signature:
|
|
|
|
```typescript
|
|
export type HandleFor<T> = T extends Node ? ElementHandle<T> : JSHandle<T>;
|
|
```
|
|
|
|
**References:** [ElementHandle](./puppeteer.elementhandle.md), [JSHandle](./puppeteer.jshandle.md)
|