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

Migrate from ts-ignore to ts-expect-error (#13059)

This commit is contained in:
Álvaro Mondéjar Rubio
2025-04-14 17:54:22 +02:00
committed by GitHub
parent 9a168ad95c
commit 2b36eb59a9
4 changed files with 4 additions and 9 deletions

View File

@@ -158,7 +158,7 @@ if (
};
if (answers.license.type === 'custom') {
// @ts-ignore
// @ts-expect-error
answers.license.url = await input({
message: `What is the URL for the license? (optional)`,
validate: (input) => input.length === 0 || isValidURL(input),