@efebia/env-loader 0.0.8 → 0.9.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.js +2 -0
- package/lib/utils.d.ts +1 -1
- package/package.json +1 -1
package/lib/client.js
CHANGED
package/lib/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type ConvertToCamelCase<Key extends PropertyKey> = Key extends `${infer TFirst}_${infer TSecond}` ? `${TFirst}${Capitalize<ConvertToCamelCase<TSecond>>}` : Key;
|
|
1
|
+
export type ConvertToCamelCase<Key extends PropertyKey> = Key extends `${infer TFirst}_${infer TSecond}` ? `${Lowercase<TFirst>}${Capitalize<ConvertToCamelCase<TSecond>>}` : Key;
|
|
2
2
|
export declare const convertToCamelCase: (key: string) => string;
|
|
3
3
|
export type EnvValues<TKeys extends [...(keyof EnvSchema)[]]> = TKeys extends [
|
|
4
4
|
infer TFirst,
|