From 2d0cb87e5a6fa41d84edb9a170a78d0a2bbff9de Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Wed, 25 Jan 2023 11:35:57 +0100 Subject: [PATCH] Improve typing --- scripts/ScriptUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ScriptUtils.ts b/scripts/ScriptUtils.ts index 79e766220..0e86c0e3d 100644 --- a/scripts/ScriptUtils.ts +++ b/scripts/ScriptUtils.ts @@ -147,7 +147,7 @@ export default class ScriptUtils { return JSON.parse(data.content) } - private static Download(url, headers?: any): Promise<{ content: string }> { + private static Download(url: string, headers?: any): Promise<{ content: string }> { return new Promise((resolve, reject) => { try { headers = headers ?? {}