Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OutputSettings

Hierarchy

  • OutputSettings

Implements

Index

Constructors

Protected constructor

  • new OutputSettings(lineSeparator: string, pretty: boolean, styled: boolean, precision: number): OutputSettings
  • Parameters

    • lineSeparator: string
    • pretty: boolean
    • styled: boolean
    • precision: number

    Returns OutputSettings

Properties

Readonly lineSeparator

lineSeparator: string

Readonly precision

precision: number

Readonly pretty

pretty: boolean

Readonly styled

styled: boolean

Methods

asPretty

  • Parameters

    • pretty: boolean

    Returns OutputSettings

asStyled

  • Parameters

    • styled: boolean

    Returns OutputSettings

Protected canEqual

  • canEqual(that: unknown): boolean
  • Parameters

    • that: unknown

    Returns boolean

Protected copy

  • copy(lineSeparator: undefined | string, pretty: boolean, styled: boolean, precision: number): OutputSettings
  • Parameters

    • lineSeparator: undefined | string
    • pretty: boolean
    • styled: boolean
    • precision: number

    Returns OutputSettings

debug

  • debug(output: Output<unknown>): void
  • Parameters

    Returns void

equals

  • equals(that: unknown): boolean
  • Parameters

    • that: unknown

    Returns boolean

hashCode

  • hashCode(): number
  • Returns number

isPretty

  • isPretty(): boolean
  • Returns boolean

isStyled

  • isStyled(): boolean
  • Returns boolean

toString

  • toString(): string
  • Returns string

withLineSeparator

  • withLineSeparator(lineSeparator: undefined | string): string | OutputSettings
  • Parameters

    • lineSeparator: undefined | string

    Returns string | OutputSettings

withPrecision

  • Parameters

    • precision: number

    Returns OutputSettings

Static create

  • create(lineSeparator?: string, pretty?: boolean, styled?: boolean, precision?: number): OutputSettings
  • Parameters

    • Optional lineSeparator: string
    • Optional pretty: boolean
    • Optional styled: boolean
    • Optional precision: number

    Returns OutputSettings

Static fromAny

  • Parameters

    Returns OutputSettings

Static fromInit

Static pretty

  • Returns OutputSettings

Static prettyStyled

  • Returns OutputSettings

Static standard

  • Returns OutputSettings

Static styled

  • Returns OutputSettings

Generated using TypeDoc