Use a specific type for headers

Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
Andrew Shirley
2021-06-25 14:32:18 +01:00
committed by blam
parent a1675b47a9
commit 0581c1f554
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ export interface JenkinsInfo {
// (undocumented)
baseUrl: string;
// (undocumented)
headers?: any;
headers?: Record<string, string | string[]>;
// (undocumented)
jobName: string;
}
@@ -36,7 +36,7 @@ export interface JenkinsInfoProvider {
export interface JenkinsInfo {
baseUrl: string;
headers?: any;
headers?: Record<string, string | string[]>;
jobName: string; // TODO: make this an array
}