Skip to content

Commit

Permalink
chore(docs): fix invalid markdown reference (#5479)
Browse files Browse the repository at this point in the history
  • Loading branch information
avodovnik committed Feb 18, 2021
1 parent 15833ee commit 9b73edf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/src/api/class-page.md
Expand Up @@ -308,7 +308,7 @@ is `request`, `response` and `requestfinished`.
## event: Page.webSocket
- type: <[WebSocket]>

Emitted when <[WebSocket]> request is sent.
Emitted when [WebSocket] request is sent.

## event: Page.worker
- type: <[Worker]>
Expand Down
12 changes: 6 additions & 6 deletions types/types.d.ts
Expand Up @@ -530,7 +530,7 @@ export interface Page {
on(event: 'response', listener: (response: Response) => void): this;

/**
* Emitted when <[WebSocket]> request is sent.
* Emitted when [WebSocket] request is sent.
*/
on(event: 'websocket', listener: (webSocket: WebSocket) => void): this;

Expand Down Expand Up @@ -704,7 +704,7 @@ export interface Page {
once(event: 'response', listener: (response: Response) => void): this;

/**
* Emitted when <[WebSocket]> request is sent.
* Emitted when [WebSocket] request is sent.
*/
once(event: 'websocket', listener: (webSocket: WebSocket) => void): this;

Expand Down Expand Up @@ -878,7 +878,7 @@ export interface Page {
addListener(event: 'response', listener: (response: Response) => void): this;

/**
* Emitted when <[WebSocket]> request is sent.
* Emitted when [WebSocket] request is sent.
*/
addListener(event: 'websocket', listener: (webSocket: WebSocket) => void): this;

Expand Down Expand Up @@ -1052,7 +1052,7 @@ export interface Page {
removeListener(event: 'response', listener: (response: Response) => void): this;

/**
* Emitted when <[WebSocket]> request is sent.
* Emitted when [WebSocket] request is sent.
*/
removeListener(event: 'websocket', listener: (webSocket: WebSocket) => void): this;

Expand Down Expand Up @@ -1226,7 +1226,7 @@ export interface Page {
off(event: 'response', listener: (response: Response) => void): this;

/**
* Emitted when <[WebSocket]> request is sent.
* Emitted when [WebSocket] request is sent.
*/
off(event: 'websocket', listener: (webSocket: WebSocket) => void): this;

Expand Down Expand Up @@ -3014,7 +3014,7 @@ export interface Page {
waitForEvent(event: 'response', optionsOrPredicate?: { predicate?: (response: Response) => boolean, timeout?: number } | ((response: Response) => boolean)): Promise<Response>;

/**
* Emitted when <[WebSocket]> request is sent.
* Emitted when [WebSocket] request is sent.
*/
waitForEvent(event: 'websocket', optionsOrPredicate?: { predicate?: (webSocket: WebSocket) => boolean, timeout?: number } | ((webSocket: WebSocket) => boolean)): Promise<WebSocket>;

Expand Down

0 comments on commit 9b73edf

Please sign in to comment.