tuil
ReferencePackages@mwillbanks/tuil-testingAPI

TerminalStoryControls

interface exported by @mwillbanks/tuil-testing.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-testing.

export interface TerminalStoryControls {
  readonly width: number;
  readonly height: number;
  readonly colorDepth: 1 | 4 | 8 | 24;
  readonly unicode: boolean;
  readonly theme: string;
  readonly platform: NodeJS.Platform;
  readonly interactive: boolean;
  readonly reducedMotion: boolean;
  readonly mouse: boolean;
  readonly hyperlinks: boolean;
}

Members

MemberTypeRequiredDescriptionRelated types
widthnumberYesThe width member uses the number contract.
heightnumberYesThe height member uses the number contract.
colorDepth1 | 4 | 8 | 24YesThe colorDepth member uses the 1 | 4 | 8 | 24 contract.
unicodebooleanYesThe unicode member uses the boolean contract.
themestringYesThe theme member uses the string contract.
platformNodeJS.PlatformYesThe platform member uses the NodeJS.Platform contract.
interactivebooleanYesThe interactive member uses the boolean contract.
reducedMotionbooleanYesThe reducedMotion member uses the boolean contract.
mousebooleanYesThe mouse member uses the boolean contract.
hyperlinksbooleanYesThe hyperlinks member uses the boolean contract.

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

No package-local related types.

Source

View the secondary source reference

Package

@mwillbanks/tuil-testing

On this page