@rexprjkt/hoyoapi
Version:
Forked hoyoapi from rexprjkt/hoyoapi
15 lines (14 loc) • 463 B
TypeScript
/**
* Converts a string in snake_case format to camelCase format.
*
* @param str - The string to be converted.
* @returns The converted string in camelCase format.
*/
export declare function toCamelCase(str: string): string;
/**
* Converts a string in camelCase format to snake_case format.
*
* @param text - The string to be converted.
* @returns The converted string in snake_case format.
*/
export declare function toSnakeCase(text: string): string;