Skip to content

Commit 9248208

Browse files
committed
fixed type issue in prompt
1 parent 61f5345 commit 9248208

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

  • packages/contentstack-utilities/src/interfaces

packages/contentstack-utilities/src/interfaces/index.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
import { IPromptOptions } from '@oclif/core/lib/cli-ux';
2-
1+
export interface IPromptOptions {
2+
prompt?: string;
3+
type?: 'normal' | 'mask' | 'hide' | 'single';
4+
timeout?: number;
5+
required?: boolean;
6+
default?: string;
7+
}
38
export interface PrintOptions {
49
bold?: boolean;
510
color?: string;

0 commit comments

Comments
 (0)