Type alias Setter<T>

Setter<T>: T & {
    [brand]: "Setter";
}

Type Parameters

  • T

Type declaration

  • Readonly [brand]: "Setter"

Description

Branded type that marks a property as a setter-only accessor.