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 ad20f89 commit 817626fCopy full SHA for 817626f
src/consola.ts
@@ -87,7 +87,7 @@ export class Consola {
87
return this._stderr || console._stderr; // eslint-disable-line no-console
88
}
89
90
- prompt<T extends PromptOptions>(message: string, opts: T) {
+ prompt<T extends PromptOptions>(message: string, opts?: T) {
91
if (!this.options.prompt) {
92
throw new Error("prompt is not supported!");
93
0 commit comments