docs: ensure that optionality matches between documented params and signatures (#18613)
* docs: ensure that optionality matches between documented params and signatures * docs: ensure that all optional declarations are lower case * chore: fix broken link
This commit is contained in:
parent
69e32ad9ce
commit
f80601da16
14 changed files with 127 additions and 33 deletions
|
@ -1396,7 +1396,7 @@ Opens the developer tools for the shared worker context.
|
|||
|
||||
Opens the developer tools for the service worker context.
|
||||
|
||||
#### `contents.send(channel[, arg1][, arg2][, ...])`
|
||||
#### `contents.send(channel, ...args)`
|
||||
|
||||
* `channel` String
|
||||
* `...args` any[]
|
||||
|
@ -1437,7 +1437,7 @@ app.on('ready', () => {
|
|||
</html>
|
||||
```
|
||||
|
||||
#### `contents.sendToFrame(frameId, channel[, arg1][, arg2][, ...])`
|
||||
#### `contents.sendToFrame(frameId, channel, ...args)`
|
||||
|
||||
* `frameId` Integer
|
||||
* `channel` String
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue