return undefined explicitly to avoid compilation errors

This commit is contained in:
Yuval Tal 2022-03-08 11:31:50 -05:00
parent b3530b14fc
commit 228e549b6b
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;
};