mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
refactor: move locators to separate files (#10591)
This commit is contained in:
13
docs/api/puppeteer.unionlocatorof.md
Normal file
13
docs/api/puppeteer.unionlocatorof.md
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
sidebar_label: UnionLocatorOf
|
||||
---
|
||||
|
||||
# UnionLocatorOf type
|
||||
|
||||
#### Signature:
|
||||
|
||||
```typescript
|
||||
export type UnionLocatorOf<T> = T extends Array<Locator<infer S>> ? S : never;
|
||||
```
|
||||
|
||||
**References:** [Locator](./puppeteer.locator.md)
|
||||
Reference in New Issue
Block a user