UNPKG

549 BTypeScriptView Raw
1/**
2 * Copyright (c) Facebook, Inc. and its affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 *
7 * @format
8 */
9declare type Options = {
10 echo?: string;
11 ask?: string;
12 value?: string;
13 autocomplete?: string[] | Function;
14};
15declare function create(): (ask?: string | Options | undefined, value?: string | Options | undefined, opts?: Options | undefined) => string | Options | null;
16export default create;
17//# sourceMappingURL=promptSync.d.ts.map
\No newline at end of file