From 07d278b268ba3630cbac7e84998d3d458623a5e9 Mon Sep 17 00:00:00 2001 From: Michael Kriese <michael.kriese@visualon.de> Date: Mon, 27 Jun 2022 07:17:52 +0200 Subject: [PATCH] refactor: add missing type (#16251) --- lib/modules/datasource/helm/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/modules/datasource/helm/index.ts b/lib/modules/datasource/helm/index.ts index dffa66b4a2..590c7a9b24 100644 --- a/lib/modules/datasource/helm/index.ts +++ b/lib/modules/datasource/helm/index.ts @@ -2,6 +2,7 @@ import is from '@sindresorhus/is'; import { load } from 'js-yaml'; import { logger } from '../../../logger'; import { cache } from '../../../util/cache/package/decorator'; +import type { HttpResponse } from '../../../util/http/types'; import { ensureTrailingSlash } from '../../../util/url'; import * as helmVersioning from '../../versioning/helm'; import { Datasource } from '../datasource'; @@ -34,7 +35,7 @@ export class HelmDatasource extends Datasource { async getRepositoryData( helmRepository: string ): Promise<HelmRepositoryData | null> { - let res: any; + let res: HttpResponse<string>; try { res = await this.http.get('index.yaml', { baseUrl: ensureTrailingSlash(helmRepository), -- GitLab