Update interactive.js

This commit is contained in:
Bertie690 2025-08-18 09:27:39 -04:00 committed by GitHub
parent dea9bda492
commit fe20b3061e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,9 +3,13 @@ import chalk from "chalk";
import inquirer from "inquirer"; import inquirer from "inquirer";
import { showHelpText } from "./help-message.js"; import { showHelpText } from "./help-message.js";
/**
* @import { Option } from "./main.js"
*/
/** /**
* Prompt the user to interactively select an option (console/file) to retrieve the egg move CSV. * Prompt the user to interactively select an option (console/file) to retrieve the egg move CSV.
* @returns {Promise<{type: "Console" | "File", value: string} | {type: "Exit"}>} The selected option with value * @returns {Promise<Option>} The selected option with value
*/ */
export async function runInteractive() { export async function runInteractive() {
/** @type {"Console" | "File" | "Help" | "Exit"} */ /** @type {"Console" | "File" | "Help" | "Exit"} */