Skip to content

Commit 6720457

Browse files
drernieclaude
andcommitted
chore: add explicit return types to format callbacks in deploy.ts
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent b64c9db commit 6720457

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bin/commands/deploy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ export async function deploy(
316316
name: "proceed",
317317
message: "Deploy a parallel standalone stack anyway?",
318318
initial: false,
319-
format: (v: unknown) => v ? "yes" : "no",
319+
format: (v: unknown): string => v ? "yes" : "no",
320320
}]);
321321

322322
if (!proceed) {
@@ -468,7 +468,7 @@ export async function deploy(
468468
name: "shouldDestroy",
469469
message: "Destroy this stack and recreate? (Only option to proceed)",
470470
initial: true,
471-
format: (v: unknown) => v ? "yes" : "no",
471+
format: (v: unknown): string => v ? "yes" : "no",
472472
},
473473
]);
474474

0 commit comments

Comments
 (0)