Merge pull request #9602 from electron/missing-return-types

Add backticks around return types
This commit is contained in:
Kevin Sawicki 2017-05-26 14:28:48 -07:00 committed by GitHub
commit eb81eeacce
3 changed files with 4 additions and 4 deletions

View file

@ -764,12 +764,12 @@ This method can only be called before app is ready.
### `app.getAppMemoryInfo()` _Deprecated_
Returns [ProcessMetric[]](structures/process-metric.md): Array of `ProcessMetric` objects that correspond to memory and cpu usage statistics of all the processes associated with the app.
Returns [`ProcessMetric[]`](structures/process-metric.md): Array of `ProcessMetric` objects that correspond to memory and cpu usage statistics of all the processes associated with the app.
**Note:** This method is deprecated, use `app.getAppMetrics()` instead.
### `app.getAppMetrics()`
Returns [ProcessMetric[]](structures/process-metric.md): Array of `ProcessMetric` objects that correspond to memory and cpu usage statistics of all the processes associated with the app.
Returns [`ProcessMetric[]`](structures/process-metric.md): Array of `ProcessMetric` objects that correspond to memory and cpu usage statistics of all the processes associated with the app.
### `app.setBadgeCount(count)` _Linux_ _macOS_

View file

@ -169,7 +169,7 @@ the first write will throw an error. If the passed value is not a `String`, its
* `name` String - Specify an extra header name.
Returns Object - The value of a previously set extra header name.
Returns `Object` - The value of a previously set extra header name.
#### `request.removeHeader(name)`

View file

@ -923,7 +923,7 @@ when the JS promise is rejected.
Get the system printer list.
Returns [PrinterInfo[]](structures/printer-info.md)
Returns [`PrinterInfo[]`](structures/printer-info.md)
#### `contents.print([options])`