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:
Samuel Attard 2019-06-04 14:03:24 -07:00 committed by GitHub
parent 69e32ad9ce
commit f80601da16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 127 additions and 33 deletions

View file

@ -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