• decorator @computed, computed(() => {}), handle computed value.

    Parameters

    • target: object
    • property: string
    • Optional descriptor: PropertyDescriptor

    Returns any

  • Parameters

    • Optional options: Partial<ComputedOption>

    Returns ((target, property, descriptor?) => any)

      • (target, property, descriptor?): any
      • Parameters

        • target: object
        • property: string
        • Optional descriptor: PropertyDescriptor

        Returns any

  • Type Parameters

    • T

    Parameters

    • computeRunner: (() => T)
        • (): T
        • Returns T

    • Optional options: Partial<ComputedOption>

    Returns ComputedRef<T>

Generated using TypeDoc