1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2025-11-23 21:34:49 +02:00

Resolve ts-ignore comments in scripts and tests (#12843)

This commit is contained in:
Álvaro Mondéjar Rubio
2025-03-05 03:21:55 +01:00
committed by GitHub
parent 938d615570
commit ffb7d467e3
7 changed files with 86 additions and 64 deletions

View File

@@ -143,9 +143,9 @@ try {
message: 'What types of aliases do you want to add?',
choices: aliasTypes,
}).then(async (aliases) => {
/** @type {{[_: string]: string[]}} */
const result = {};
for (const alias of aliases) {
// @ts-ignore
// eslint-disable-next-line no-await-in-loop
result[alias] = await input({
message: `What ${alias} aliases would you like to add? (separate with commas)`,