• Type Parameters

    • V
    • Type = any

    Parameters

    • Optionaldecorator: (
          param: V,
          constructor: Type,
          context: ClassDecoratorContext<new (...args: any) => any>,
          metadata: MetadataContext,
      ) => void

    Returns (
        param: V,
    ) => (
        constructor: any,
        context: ClassDecoratorContext<new (...args: any) => any>,
    ) => any