We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7068c8d + 07b52a2 commit 8fdf386Copy full SHA for 8fdf386
src/Types/index.ts
@@ -79,11 +79,3 @@ export type ServerResponse<T> = T extends Date|string ? T : {
79
? string
80
: ServerResponse<T[K]>;
81
}
82
-
83
-export type ServerCasing<T> = T extends string | number ? T : {
84
- [K in keyof T & string as `${Capitalize<K>}`]: T[K] extends Array<infer R>
85
- ? R extends string ? R[] : ServerCasing<R>[]
86
- : T[K] extends object
87
- ? ServerCasing<T[K]>
88
- : T[K];
89
-}
0 commit comments