UNPKG

surrogate

Version:

Object method hooks made easy

22 lines (15 loc) 620 B
var $c8150344217a984e$exports = require("./surrogate.87030c3f.js"); function $parcel$export(e, n, v, s) { Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true}); } $parcel$export(module.exports, "WithoutArgsRule", () => $6a6c8025dca37792$export$1b1bd3f1062c2670); class $6a6c8025dca37792$export$1b1bd3f1062c2670 extends (0, $c8150344217a984e$exports.HandlerBaseRule) { run() { // @ts-expect-error return this.handler.call(this.context); } shouldHandle() { return this.shouldRunWithoutArgs(); } } //# sourceMappingURL=surrogate.56480f03.js.map