The decorator returned by the no-options form of MapErrors. It type-checks in every position MapErrors supports — a single method or a whole class (wrapping every instance method) — under both legacy experimentalDecorators and TC39 Stage-3.
experimentalDecorators
Legacy method (experimentalDecorators: true).
experimentalDecorators: true
TC39 Stage-3 method.
Legacy class.
TC39 Stage-3 class.
The decorator returned by the no-options form of MapErrors. It type-checks in every position MapErrors supports — a single method or a whole class (wrapping every instance method) — under both legacy
experimentalDecoratorsand TC39 Stage-3.