Interface State<T>

interface State<T> {
    get(): T;
    set(newValue: T): void;
}

Type Parameters

  • T

Hierarchy

  • Readable<T>
  • Writable<T>
    • State

Implemented by

Methods

Methods

  • Parameters

    • newValue: T

    Returns void