json-joy
Version:
Collection of libraries for building collaborative editing apps.
14 lines (13 loc) • 335 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.Decoder = void 0;
const decode_1 = require("./decode");
class Decoder {
constructor(options) {
this.options = options;
}
decode(patch) {
return (0, decode_1.decode)(patch, this.options);
}
}
exports.Decoder = Decoder;
;