UNPKG

http-problem-details-mapper

Version:
15 lines 554 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MappingStrategy = void 0; class MappingStrategy { constructor() { if (this.constructor === MappingStrategy) { throw new TypeError('Can not construct abstract class.'); } if (this.map === MappingStrategy.prototype.map) { throw new TypeError(`Please implement abstract method 'map' in ${this.constructor.name}.`); } } } exports.MappingStrategy = MappingStrategy; //# sourceMappingURL=IMappingStrategy.js.map