Hierarchy

  • StackOptions

Properties

Properties

source?: {
    afterLines?: number;
    beforeLines?: number;
    maxLineLength?: number;
}

Configuration that controls how source is captured.

Type declaration

  • Optional afterLines?: number

    The number of lines captured after the originating line.

    Defaults to 3.

  • Optional beforeLines?: number

    The number of lines captured before the originating line.

    Defaults to 3.

  • Optional maxLineLength?: number

    The maximum length of source line to include. Lines longer than this will be trimmed.

    Defaults to 280.

Generated using TypeDoc