error-mapper-decorator
    Preparing search index...

    Interface MapErrorsClassDecorator

    The decorator returned by the whole-class form of MapErrors (when an options object with include/exclude is supplied). Class-only by design: applying it to a method is a type error, since those filters have no meaning there.

    • Legacy class (experimentalDecorators: true).

      Type Parameters

      • T extends new (...args: never[]) => unknown

      Parameters

      • target: T

      Returns void

    • TC39 Stage-3 class.

      Type Parameters

      • T extends new (...args: never[]) => unknown

      Parameters

      • target: T
      • context: ClassDecoratorContext<T>

      Returns void