|
1 | 1 | // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
2 | 2 |
|
3 | 3 | exports[`Integration > Feature #945: should have configurable treatment of optionals 0 1`] = `
|
4 |
| -"export type SomeOf<T> = T[keyof T]; |
| 4 | +"type SomeOf<T> = T[keyof T]; |
5 | 5 |
|
6 | 6 | type PostV1TestWithDashesInput = {
|
7 | 7 | opt?: string;
|
@@ -139,7 +139,7 @@ client.provide("get /v1/user/retrieve", { id: "10" });
|
139 | 139 | `;
|
140 | 140 |
|
141 | 141 | exports[`Integration > Feature #945: should have configurable treatment of optionals 1 1`] = `
|
142 |
| -"export type SomeOf<T> = T[keyof T]; |
| 142 | +"type SomeOf<T> = T[keyof T]; |
143 | 143 |
|
144 | 144 | type PostV1TestWithDashesInput = {
|
145 | 145 | opt: string | undefined;
|
@@ -277,7 +277,7 @@ client.provide("get /v1/user/retrieve", { id: "10" });
|
277 | 277 | `;
|
278 | 278 |
|
279 | 279 | exports[`Integration > Feature #945: should have configurable treatment of optionals 2 1`] = `
|
280 |
| -"export type SomeOf<T> = T[keyof T]; |
| 280 | +"type SomeOf<T> = T[keyof T]; |
281 | 281 |
|
282 | 282 | type PostV1TestWithDashesInput = {
|
283 | 283 | opt: string;
|
@@ -415,7 +415,7 @@ client.provide("get /v1/user/retrieve", { id: "10" });
|
415 | 415 | `;
|
416 | 416 |
|
417 | 417 | exports[`Integration > Feature #1470: Custom brands > should by handled accordingly 1`] = `
|
418 |
| -"export type SomeOf<T> = T[keyof T]; |
| 418 | +"type SomeOf<T> = T[keyof T]; |
419 | 419 |
|
420 | 420 | type PostV1CustomInput = {
|
421 | 421 | string: boolean;
|
@@ -481,7 +481,7 @@ exports[`Integration > Should generate a client for example API 1`] = `
|
481 | 481 | features: Type1;
|
482 | 482 | }[];
|
483 | 483 |
|
484 |
| -export type SomeOf<T> = T[keyof T]; |
| 484 | +type SomeOf<T> = T[keyof T]; |
485 | 485 |
|
486 | 486 | type GetV1UserRetrieveInput = {
|
487 | 487 | /** a numeric string containing the id of the user */
|
@@ -932,7 +932,7 @@ exports[`Integration > Should generate a types for example API 1`] = `
|
932 | 932 | features: Type1;
|
933 | 933 | }[];
|
934 | 934 |
|
935 |
| -export type SomeOf<T> = T[keyof T]; |
| 935 | +type SomeOf<T> = T[keyof T]; |
936 | 936 |
|
937 | 937 | type GetV1UserRetrieveInput = {
|
938 | 938 | /** a numeric string containing the id of the user */
|
@@ -1282,7 +1282,7 @@ export type MethodPath = keyof Input;
|
1282 | 1282 | `;
|
1283 | 1283 |
|
1284 | 1284 | exports[`Integration > Should support multiple response schemas depending on status code 1`] = `
|
1285 |
| -"export type SomeOf<T> = T[keyof T]; |
| 1285 | +"type SomeOf<T> = T[keyof T]; |
1286 | 1286 |
|
1287 | 1287 | type PostV1MtplInput = {
|
1288 | 1288 | test: number;
|
@@ -1348,7 +1348,7 @@ export type MethodPath = keyof Input;
|
1348 | 1348 | `;
|
1349 | 1349 |
|
1350 | 1350 | exports[`Integration > Should treat optionals the same way as z.infer() by default 1`] = `
|
1351 |
| -"export type SomeOf<T> = T[keyof T]; |
| 1351 | +"type SomeOf<T> = T[keyof T]; |
1352 | 1352 |
|
1353 | 1353 | type PostV1TestWithDashesInput = {
|
1354 | 1354 | opt?: string | undefined;
|
|
0 commit comments