We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58922dc commit 4412e5dCopy full SHA for 4412e5d
packages/prompts/src/common.ts
@@ -64,5 +64,5 @@ export interface CommonPromptOptions extends CommonOptions {
64
}
65
66
export const clearPrompt = (opts: CommonPromptOptions) => {
67
- return opts.clearPromptOnDone && typeof opts.clearPromptOnDone === 'boolean';
+ return Boolean(opts.clearPromptOnDone && typeof opts.clearPromptOnDone === 'boolean');
68
0 commit comments