devsite/node_modules/async/internal/initialParams.js

14 lines
289 B
JavaScript
Raw Permalink Normal View History

2024-07-08 01:49:38 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = function (fn) {
return function (...args /*, callback*/) {
var callback = args.pop();
return fn.call(this, args, callback);
};
};
module.exports = exports.default;