From: Ardis Lu Date: Thu, 14 Dec 2023 04:48:38 +0000 (-0800) Subject: Add JSDoc comment for main to resolve doc linter X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=aadc430dd745048b9ee7232814bf0deb83b40528;p=seed-phrase-transposer Add JSDoc comment for main to resolve doc linter --- diff --git a/main.ts b/main.ts index 701b203..a1d3442 100644 --- a/main.ts +++ b/main.ts @@ -63,6 +63,9 @@ export function getLowerFactors(num: number): Array { return lowerFactors; } +/** + * Entry point to use the program. This function is automatically called if `main.ts` is invoked directly by the Deno CLI. + */ export function main() { const input = prompt("Seed phrase:"); const words = parseInput(input);