@squidcloud/backend
    Preparing search index...

    Type Alias ActionMethodDecorator<U>

    ActionMethodDecorator: <T extends U>(
        target: Object,
        propertyName: string,
        descriptor: TypedPropertyDescriptor<T>,
    ) => TypedPropertyDescriptor<T>

    Base type for all decorators used in backend projects.

    Type Parameters

    • U

    Type declaration

      • <T extends U>(
            target: Object,
            propertyName: string,
            descriptor: TypedPropertyDescriptor<T>,
        ): TypedPropertyDescriptor<T>
      • Type Parameters

        • T extends U

        Parameters

        • target: Object
        • propertyName: string
        • descriptor: TypedPropertyDescriptor<T>

        Returns TypedPropertyDescriptor<T>