12 lines
428 B
JavaScript
12 lines
428 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 pify_1 = __importDefault(require("pify"));
|
|
const pinkie_1 = __importDefault(require("pinkie"));
|
|
function default_1(fn) {
|
|
return (0, pify_1.default)(fn, pinkie_1.default);
|
|
}
|
|
exports.default = default_1;
|