Skip to content

DebugSwitchDefinition

The definition of a debug switch.

Import:

import type { DebugSwitchDefinition } from '@mnaoumov/typescript-lib/debug-switches';

Signature:

export interface DebugSwitchDefinition

Properties

PropertyTypeDescription
descriptionstringWhat the switch does, for a settings UI.
idstringThe unique id, namespaced by the library or plugin that owns the switch, e.g. typescript-lib:terminate-on-timeout.
isEnabledByDefaultbooleanThe value the switch has until something sets it.
namestringThe human-readable name, for a settings UI.

Links to this page: