UNPKG

surrogate

Version:

Object method hooks made easy

16 lines (11 loc) 492 B
import {HandlerBaseRule as $24fb5b737c837f8c$export$5bc87f46f3fd765a} from "./surrogate.d2d32023.js"; class $94bade9bca6b5c8d$export$ec7c17e3970f4c88 extends (0, $24fb5b737c837f8c$export$5bc87f46f3fd765a) { run(nextParameters) { return this.handler.call(this.context, nextParameters); } shouldHandle() { return this.shouldRunWithArgs(); } } export {$94bade9bca6b5c8d$export$ec7c17e3970f4c88 as WithArgsRule}; //# sourceMappingURL=surrogate.ae4cd70e.js.map