UNPKG

textlint

Version:

The pluggable linting tool for natural language.

20 lines 547 B
// LICENSE : MIT "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PluginMap = void 0; /** * Processor Map object */ // eslint-disable-next-line @typescript-eslint/no-explicit-any class PluginMap extends Map { toJSON() { // eslint-disable-next-line @typescript-eslint/no-explicit-any const object = {}; this.forEach((value, key) => { object[key] = value; }); return object; } } exports.PluginMap = PluginMap; //# sourceMappingURL=processor-map.js.map