File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,11 @@ exports[`v2 should generate: ./test/generated/v2/core/OpenAPI.ts 1`] = `
57
57
"/* istanbul ignore file */
58
58
/* tslint:disable */
59
59
/* eslint-disable */
60
+
61
+ type ResponseImplementation = Response;
62
+
63
+
64
+
60
65
type Resolver<T> = () => Promise<T>;
61
66
type Headers = Record<string, string>;
62
67
@@ -71,7 +76,7 @@ export interface RequestHookParams {
71
76
export interface ResponseHookParams {
72
77
url: string;
73
78
result: ApiResult;
74
- response?: any ;
79
+ response?: ResponseImplementation ;
75
80
}
76
81
77
82
type Config = {
@@ -2326,6 +2331,11 @@ exports[`v3 should generate: ./test/generated/v3/core/OpenAPI.ts 1`] = `
2326
2331
"/* istanbul ignore file */
2327
2332
/* tslint:disable */
2328
2333
/* eslint-disable */
2334
+
2335
+ type ResponseImplementation = Response;
2336
+
2337
+
2338
+
2329
2339
type Resolver<T> = () => Promise<T>;
2330
2340
type Headers = Record<string, string>;
2331
2341
@@ -2340,7 +2350,7 @@ export interface RequestHookParams {
2340
2350
export interface ResponseHookParams {
2341
2351
url: string;
2342
2352
result: ApiResult;
2343
- response?: any ;
2353
+ response?: ResponseImplementation ;
2344
2354
}
2345
2355
2346
2356
type Config = {
You can’t perform that action at this time.
0 commit comments