12 lines
985 B
JavaScript
12 lines
985 B
JavaScript
|
"use strict";
|
||
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||
|
};
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
const pinkie_1 = __importDefault(require("pinkie"));
|
||
|
const pify_1 = __importDefault(require("pify"));
|
||
|
function default_1(fn) {
|
||
|
return pify_1.default(fn, pinkie_1.default);
|
||
|
}
|
||
|
exports.default = default_1;
|
||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvbWlzaWZ5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3V0aWxzL3Byb21pc2lmeS5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLG9EQUE2QjtBQUM3QixnREFBd0I7QUFHeEIsbUJBQXlCLEVBQUU7SUFDdkIsT0FBTyxjQUFJLENBQUMsRUFBRSxFQUFFLGdCQUFPLENBQUMsQ0FBQztBQUM3QixDQUFDO0FBRkQsNEJBRUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUHJvbWlzZSBmcm9tICdwaW5raWUnO1xuaW1wb3J0IHBpZnkgZnJvbSAncGlmeSc7XG5cblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gKGZuKSB7XG4gICAgcmV0dXJuIHBpZnkoZm4sIFByb21pc2UpO1xufVxuIl19
|