Skip to content

Commit f4fc7de

Browse files
committed
chore: update axios template
1 parent a93b223 commit f4fc7de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "swagger-typescript-api-es",
3-
"version": "0.0.8",
3+
"version": "0.0.9",
44
"license": "MIT",
55
"type": "module",
66
"main": "./dist/index.mjs",

templates/base/http-clients/axios-http-client.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export class HttpClient<SecurityDataType = unknown> {
111111
<% if (config.unwrapResponseData) { %>
112112
}: FullRequestParams): Promise<T> => {
113113
<% } else { %>
114-
}: FullRequestParams): Promise<AxiosResponse<T>> => {
114+
}: FullRequestParams): Promise<AxiosResponse<T, _E>> => {
115115
<% } %>
116116
const secureParams = ((typeof secure === 'boolean' ? secure : this.secure) && this.securityWorker && (await this.securityWorker(this.securityData))) || {};
117117
const requestParams = this.mergeRequestParams(params, secureParams);

0 commit comments

Comments
 (0)