From b9fabeffd838d1d0abbf726a7fb40a9ac3f5e747 Mon Sep 17 00:00:00 2001 From: Jan Nanista Date: Thu, 23 Nov 2023 14:30:29 -0800 Subject: [PATCH] fix: Replace any with a specific type --- packages/create-lz-oapp/src/utilities/prompts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-lz-oapp/src/utilities/prompts.ts b/packages/create-lz-oapp/src/utilities/prompts.ts index 9301031c02..b6878eef0a 100644 --- a/packages/create-lz-oapp/src/utilities/prompts.ts +++ b/packages/create-lz-oapp/src/utilities/prompts.ts @@ -4,7 +4,7 @@ import { isPackageManagerAvailable } from "./installation.js" import { isDirectory } from "./filesystem.js" import { resolve } from "path" -const handlePromptState = (state: any) => { +const handlePromptState = (state: { aborted: boolean }) => { if (state.aborted) { // If we don't re-enable the terminal cursor before exiting // the program, the cursor will remain hidden