@seemusic/ui-components
Version:
A Vue 3 UI Library. Uses Composable.
31 lines (30 loc) • 609 B
TypeScript
import type { Recordable } from '../shims';
/**
* 转化为短横线命名
*
* @param str
*/
export declare function toKebabCase(str: string): string;
/**
* 转化为蛇形命名
*
* @param str
*/
export declare function toSnakeCase(str: string): string;
/**
* 转化为小驼峰命名
*
* @param str
*/
export declare function toCameCase(str: string): string;
/**
* 转化为大驼峰命名
*
* @param str
*/
export declare function toPascalCase(str: string): string;
/**
* 合并对象
*/
export declare const extend: (o1: Recordable, o2: Recordable) => Recordable;
export * from './reg';