Profile editing: Utilize new API (#37990)
This commit is contained in:
11 files changed
+283
-101
No files matched your search
@@ -24,3 +24,8 @@ export type OmitValueType<T, V> = {
|
||||
export type AnyFunction = (...args: never) => unknown;
|
||||
|
||||
export type OmitUnion<TUnion, TBase> = TBase & Omit<TUnion, keyof TBase>;
|
||||
|
||||
export type SnakeToCamelCase<S extends string> =
|
||||
S extends `${infer T}_${infer U}`
|
||||
? `${T}${Capitalize<SnakeToCamelCase<U>>}`
|
||||
: S;
|
||||
Reference in new issue
Block a user