UNPKG

792 BJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = void 0;
7
8function _prompts() {
9 const data = _interopRequireDefault(require("prompts"));
10
11 _prompts = function () {
12 return data;
13 };
14
15 return data;
16}
17
18function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
20/**
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */
26var _default = questions => new Promise((resolve, reject) => {
27 if (!questions) {
28 resolve({});
29 return;
30 }
31
32 (0, _prompts().default)(questions).then(resolve, reject);
33});
34
35exports.default = _default;
36
37//# sourceMappingURL=pollParams.js.map
\No newline at end of file