Interface TypedPropertyDescriptor<T>

interface TypedPropertyDescriptor<T> {
    configurable?: boolean;
    enumerable?: boolean;
    get?: (() => T);
    set?: ((value) => void);
    value?: T;
    writable?: boolean;
}

Type Parameters

  • T

Properties

configurable?: boolean
enumerable?: boolean
get?: (() => T)

Type declaration

    • (): T
    • Returns T

set?: ((value) => void)

Type declaration

    • (value): void
    • Parameters

      • value: T

      Returns void

value?: T
writable?: boolean

Generated using TypeDoc