Skip to content

Commit

Permalink
revert test
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jun 26, 2023
1 parent 8922677 commit 705ff8e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/consola.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ export class Consola {
if (!this.options.prompt) {
throw new Error("prompt is not supported!");
}

return this.options.prompt<any, any, T>(message, opts);
}

Expand Down Expand Up @@ -414,6 +413,3 @@ export function createConsola(
): ConsolaInstance {
return new Consola(options) as ConsolaInstance;
}

const consola = {} as Consola;
const r = await consola.prompt("test", { type: "text" });

0 comments on commit 705ff8e

Please sign in to comment.