chore: reduce any usage in build/ (#270109)

This commit is contained in:
Robo
2025-10-07 07:56:36 +09:00
committed by GitHub
parent 26b72210d5
commit fd10f9c207
6 changed files with 15 additions and 13 deletions

View File

@@ -54,8 +54,7 @@ export async function fetchUrl(url: string, options: IFetchOptions, retries = 10
try {
const response = await fetch(url, {
...options.nodeFetchOptions,
// eslint-disable-next-line local/code-no-any-casts
signal: controller.signal as any /* Typings issue with lib.dom.d.ts */
signal: controller.signal
});
if (verbose) {
log(`Fetch completed: Status ${response.status}. Took ${ansiColors.magenta(`${new Date().getTime() - startTime} ms`)}`);