mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-05 20:59:31 +08:00
18 lines
433 B
Text
18 lines
433 B
Text
/**
|
|
* Convert string to camelCase
|
|
*/
|
|
declare function camelize(str: string): string;
|
|
/**
|
|
* Convert string to PascaleCase
|
|
*/
|
|
declare function pascalize(str: string): string;
|
|
/**
|
|
* Convert camelCase string to kebab-case
|
|
*/
|
|
declare function camelToKebab(key: string): string;
|
|
/**
|
|
* Convert string string to snake-case
|
|
*/
|
|
declare function snakelize(str: string): string;
|
|
|
|
export { camelToKebab, camelize, pascalize, snakelize };
|