custom.js 400 B

1234567891011121314
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.Custom = void 0;
  4. const helper_1 = require("../utils/helper");
  5. /**
  6. * Connector transfom by function.
  7. */
  8. const Custom = (options) => {
  9. const { callback = helper_1.identity } = options;
  10. return (data) => callback(data);
  11. };
  12. exports.Custom = Custom;
  13. exports.Custom.props = {};
  14. //# sourceMappingURL=custom.js.map