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.
include
exclude
Legacy class (experimentalDecorators: true).
experimentalDecorators: true
TC39 Stage-3 class.
The decorator returned by the whole-class form of MapErrors (when an options object with
include/excludeis supplied). Class-only by design: applying it to a method is a type error, since those filters have no meaning there.