mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
14 lines
199 B
Markdown
14 lines
199 B
Markdown
|
---
|
||
|
sidebar_label: Mapper
|
||
|
---
|
||
|
|
||
|
# Mapper type
|
||
|
|
||
|
#### Signature:
|
||
|
|
||
|
```typescript
|
||
|
export type Mapper<From, To> = (value: From) => Awaitable<To>;
|
||
|
```
|
||
|
|
||
|
**References:** [Awaitable](./puppeteer.awaitable.md)
|