Юниверс DG SDK UI
v2.15.0

Интерфейс IActionFactory

interface IActionFactory {
    bound: (
        target: Object,
        propertyKey: string | symbol,
        descriptor?: PropertyDescriptor,
    ) => void;
    <T extends Function | null | undefined>(fn: T): T & IAction;
    <T extends Function | null | undefined>(name: string, fn: T): T & IAction;
    (
        customName: string,
    ): (
        target: Object,
        key: string | symbol,
        baseDescriptor?: PropertyDescriptor,
    ) => void;
    (
        target: Object,
        propertyKey: string | symbol,
        descriptor?: PropertyDescriptor,
    ): void;
}
  • Параметры типа

    • T extends Function | null | undefined

    Параметры

    • fn: T

    Возвращает T & IAction

  • Параметры типа

    • T extends Function | null | undefined

    Параметры

    • name: string
    • fn: T

    Возвращает T & IAction

  • Параметры

    • customName: string

    Возвращает (
        target: Object,
        key: string | symbol,
        baseDescriptor?: PropertyDescriptor,
    ) => void

  • Параметры

    • target: Object
    • propertyKey: string | symbol
    • Optionaldescriptor: PropertyDescriptor

    Возвращает void

Индекс

Свойства

Свойства

bound: (
    target: Object,
    propertyKey: string | symbol,
    descriptor?: PropertyDescriptor,
) => void