[typescript-fetch] Fix config getter type issue (#10216)

The return type now matches the config fetchApi type
This commit is contained in:
Richard Willis 2021-08-21 07:32:32 +01:00 committed by GitHub
parent 3fd5e4111f
commit ff13923f55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 12 additions and 12 deletions

View File

@ -137,7 +137,7 @@ export class Configuration {
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
}
get fetchApi(): FetchAPI {
get fetchApi(): FetchAPI | undefined {
return this.configuration.fetchApi;
}

View File

@ -148,7 +148,7 @@ export class Configuration {
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
}
get fetchApi(): FetchAPI {
get fetchApi(): FetchAPI | undefined {
return this.configuration.fetchApi;
}

View File

@ -148,7 +148,7 @@ export class Configuration {
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
}
get fetchApi(): FetchAPI {
get fetchApi(): FetchAPI | undefined {
return this.configuration.fetchApi;
}

View File

@ -148,7 +148,7 @@ export class Configuration {
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
}
get fetchApi(): FetchAPI {
get fetchApi(): FetchAPI | undefined {
return this.configuration.fetchApi;
}

View File

@ -148,7 +148,7 @@ export class Configuration {
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
}
get fetchApi(): FetchAPI {
get fetchApi(): FetchAPI | undefined {
return this.configuration.fetchApi;
}

View File

@ -148,7 +148,7 @@ export class Configuration {
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
}
get fetchApi(): FetchAPI {
get fetchApi(): FetchAPI | undefined {
return this.configuration.fetchApi;
}

View File

@ -148,7 +148,7 @@ export class Configuration {
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
}
get fetchApi(): FetchAPI {
get fetchApi(): FetchAPI | undefined {
return this.configuration.fetchApi;
}

View File

@ -148,7 +148,7 @@ export class Configuration {
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
}
get fetchApi(): FetchAPI {
get fetchApi(): FetchAPI | undefined {
return this.configuration.fetchApi;
}

View File

@ -148,7 +148,7 @@ export class Configuration {
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
}
get fetchApi(): FetchAPI {
get fetchApi(): FetchAPI | undefined {
return this.configuration.fetchApi;
}

View File

@ -148,7 +148,7 @@ export class Configuration {
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
}
get fetchApi(): FetchAPI {
get fetchApi(): FetchAPI | undefined {
return this.configuration.fetchApi;
}

View File

@ -148,7 +148,7 @@ export class Configuration {
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
}
get fetchApi(): FetchAPI {
get fetchApi(): FetchAPI | undefined {
return this.configuration.fetchApi;
}

View File

@ -148,7 +148,7 @@ export class Configuration {
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
}
get fetchApi(): FetchAPI {
get fetchApi(): FetchAPI | undefined {
return this.configuration.fetchApi;
}