From 5c3ecb9a234a57c0dd43b0c694a6d1266b3858a5 Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Mon, 18 Jul 2022 02:59:04 -0400 Subject: [PATCH] fix any in PromptManager --- src/ui/React/PromptManager.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/React/PromptManager.tsx b/src/ui/React/PromptManager.tsx index bd7145268..9d8d89565 100644 --- a/src/ui/React/PromptManager.tsx +++ b/src/ui/React/PromptManager.tsx @@ -38,7 +38,7 @@ export function PromptManager(): React.ReactElement { setPrompt(null); } - const types: { [key: string]: any } = { + const types: { [key: string]: (props: IContentProps) => React.ReactElement } = { text: PromptMenuText, select: PromptMenuSelect, };