camelCase.d.ts 291 B

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