• {@inheritDoc observable}

    Type Parameters

    • T = any

    Parameters

    • value: T[]
    • Optional options: CreateObservableOptions

    Returns IObservableArray<T>

  • {@inheritDoc observable}

    Type Parameters

    • T = any

    Parameters

    • value: Set<T>
    • Optional options: CreateObservableOptions

    Returns ObservableSet<T>

  • {@inheritDoc observable}

    Type Parameters

    • K = any
    • V = any

    Parameters

    • value: Map<K, V>
    • Optional options: CreateObservableOptions

    Returns ObservableMap<K, V>

  • {@inheritDoc observable}

    Type Parameters

    • T extends object

    Parameters

    • value: T
    • Optional decorators: AnnotationsMap<T, never>
    • Optional options: CreateObservableOptions

    Returns T

  • {@inheritDoc observable}

    Parameters

    • target: Object
    • propertyKey: string | symbol

    Returns void

  • {@inheritDoc observable}

    Parameters

    • value: ClassAccessorDecoratorTarget<any, any>
    • context: ClassAccessorDecoratorContext<unknown, unknown>

    Returns void | ClassAccessorDecoratorResult<any, any>

  • {@inheritDoc observable}

    Parameters

    • value: any
    • context: ClassFieldDecoratorContext<any, any>

    Returns any

Properties

Properties

ref: Annotation & PropertyDecorator & ClassAccessorDecorator & ClassFieldDecorator

Decorator that creates an observable that only observes the references, but doesn't try to turn the assigned value into an observable.ts.

shallow: Annotation & PropertyDecorator & ClassAccessorDecorator & ClassFieldDecorator

Decorator that creates an observable converts its value (objects, maps or arrays) into a shallow observable structure