mirror of
https://github.com/ferdikoomen/openapi-typescript-codegen.git
synced 2025-12-08 20:16:21 +00:00
return undefined explicitly to avoid compilation errors
This commit is contained in:
parent
b3530b14fc
commit
228e549b6b
@ -5,5 +5,5 @@ const getResponseHeader = <T>(response: HttpResponse<T>, responseHeader?: string
|
||||
return value;
|
||||
}
|
||||
}
|
||||
return;
|
||||
return undefined;
|
||||
};
|
||||
|
||||
@ -5,5 +5,5 @@ const getResponseHeader = (response: AxiosResponse<any>, responseHeader?: string
|
||||
return content;
|
||||
}
|
||||
}
|
||||
return;
|
||||
return undefined;
|
||||
};
|
||||
|
||||
@ -5,5 +5,5 @@ const getResponseHeader = (response: Response, responseHeader?: string): string
|
||||
return content;
|
||||
}
|
||||
}
|
||||
return;
|
||||
return undefined;
|
||||
};
|
||||
|
||||
@ -22,5 +22,5 @@ const getFormData = (options: ApiRequestOptions): FormData | undefined => {
|
||||
|
||||
return formData;
|
||||
}
|
||||
return;
|
||||
return undefined;
|
||||
};
|
||||
|
||||
@ -5,5 +5,5 @@ const getResponseHeader = (response: Response, responseHeader?: string): string
|
||||
return content;
|
||||
}
|
||||
}
|
||||
return;
|
||||
return undefined;
|
||||
};
|
||||
|
||||
@ -5,5 +5,5 @@ const getResponseHeader = (xhr: XMLHttpRequest, responseHeader?: string): string
|
||||
return content;
|
||||
}
|
||||
}
|
||||
return;
|
||||
return undefined;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user