mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs: replace @return with @returns (#6006)
The former is not understood by TSDoc.
This commit is contained in:
@@ -17,9 +17,11 @@ waitForTarget(predicate: (x: Target) => boolean, options?: {
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| predicate | (x: [Target](./puppeteer.target.md)<!-- -->) => boolean | |
|
||||
| options | { timeout?: number; } | {<!-- -->!Promise<!-- --><<!-- -->!Target<!-- -->><!-- -->} |
|
||||
| options | { timeout?: number; } | |
|
||||
|
||||
<b>Returns:</b>
|
||||
|
||||
Promise<[Target](./puppeteer.target.md)<!-- -->>
|
||||
|
||||
{<!-- -->!Promise<!-- --><<!-- -->!Target<!-- -->><!-- -->}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user