Merge pull request #980 from yuvalt/master

return undefined explicitly to avoid compilation errors
This commit is contained in:
Ferdi Koomen 2022-04-06 21:18:14 +02:00 committed by GitHub
commit a42795517e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View File

@ -5,5 +5,5 @@ const getResponseHeader = <T>(response: HttpResponse<T>, responseHeader?: string
return value;
}
}
return;
return undefined;
};

View File

@ -5,5 +5,5 @@ const getResponseHeader = (response: AxiosResponse<any>, responseHeader?: string
return content;
}
}
return;
return undefined;
};

View File

@ -5,5 +5,5 @@ const getResponseHeader = (response: Response, responseHeader?: string): string
return content;
}
}
return;
return undefined;
};

View File

@ -22,5 +22,5 @@ const getFormData = (options: ApiRequestOptions): FormData | undefined => {
return formData;
}
return;
return undefined;
};

View File

@ -5,5 +5,5 @@ const getResponseHeader = (response: Response, responseHeader?: string): string
return content;
}
}
return;
return undefined;
};

View File

@ -5,5 +5,5 @@ const getResponseHeader = (xhr: XMLHttpRequest, responseHeader?: string): string
return content;
}
}
return;
return undefined;
};