diff --git a/src/example.ts b/src/example.ts index 6e20bc6..0bc77aa 100644 --- a/src/example.ts +++ b/src/example.ts @@ -104,7 +104,7 @@ async function main() { if (searchResult.length !== 0) { // Extract first game const gamedata = searchResult.shift(); - const authors = gamedata.authors.map((a, idx) => a.name).join(", "); + const authors = gamedata.authors.map((a) => a.name).join(", "); console.log(`Found: ${gamedata.name} (${gamedata.version}) by ${authors}\n`); } else console.log(`No data found for '${gamename}'\n`); }