Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

[console] Add groupdIndentation to ConsoleOptions (Node.js v14.2.0+) #228

Merged
merged 1 commit into from
May 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ import scala.scalajs.js.|
* setting to `'auto'` will make color support depend on the value of the `isTTY` property and the value returned by `getColorDepth()` on the respective stream.
* This option can not be used, if `inspectOptions.colors` is set as well. Defaults to `'auto'`.
* @param inspectOptions Specifies options that are passed along to [[io.scalajs.nodejs.util.Util.inspect()]].
*
* **Node:** This is available after Node.js v11.7.0.
* Node.js v11.7.0.
* @param groupIndentation Set group indentation. Default: 2.
* Node.js v14.2.0.
*/
class ConsoleOptions(
var stdout: IWritable,
var stderr: js.UndefOr[IWritable] = js.undefined,
var ignoreErrors: Boolean = true,
var colorMode: Boolean | String = "auto",
var inspectOptions: js.UndefOr[InspectOptions] = js.undefined
var inspectOptions: js.UndefOr[InspectOptions] = js.undefined,
var groupIndentation: js.UndefOr[Int] = js.undefined
) extends js.Object