Skip to main content
Version: 5.9

Formula

Callable

  • Formula<T>(formula: string | (alias: string) => string, options?: FormulaOptions<T>): (target: Partial<any>, propertyName: string) => any

  • Type parameters

    • T

    Parameters

    • formula: string | (alias: string) => string
      • options: FormulaOptions<T> = {}

      Returns (target: Partial<any>, propertyName: string) => any

        • (target: Partial<any>, propertyName: string): any
        • Parameters

          • target: Partial<any>
          • propertyName: string

          Returns any