From a9b7e61e26efbdf414801658d19e718afa776c24 Mon Sep 17 00:00:00 2001 From: Simon Boudrias Date: Sat, 11 Jan 2025 14:28:51 -0500 Subject: [PATCH] Chore(@inquirer/testing): Simplify render types --- packages/testing/src/index.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/testing/src/index.ts b/packages/testing/src/index.ts index 340478c6b..c4ddc52b9 100644 --- a/packages/testing/src/index.ts +++ b/packages/testing/src/index.ts @@ -42,11 +42,11 @@ class BufferedStream extends Stream.Writable { } } -export async function render< - const Props, - const Value, - const TestedPrompt extends Prompt, ->(prompt: TestedPrompt, props: Props, options?: Context) { +export async function render( + prompt: Prompt, + props: Props, + options?: Context, +) { const input = new MuteStream(); input.unmute();