kebabCase.d.ts 344 B

1234567891011121314
  1. /**
  2. * 将带驼峰字符串转成字符串,例如: projectName 转为 project-name
  3. * @param str 字符串
  4. */
  5. export declare function kebabCase(str: string): string;
  6. export declare function kebabCase(str: any): string;
  7. declare module './ctor' {
  8. interface XEUtilsMethods {
  9. kebabCase: typeof kebabCase;
  10. }
  11. }
  12. export default kebabCase