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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user