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, };