camelCase.d.ts 388 B

12345678910111213141516171819
  1. import { XEUtilsMethods } from '../xe-utils'
  2. /**
  3. * 将带驼峰字符串转成字符串
  4. * @param str 字符串
  5. */
  6. export declare function camelCase(str: string): string;
  7. declare module '../xe-utils' {
  8. interface XEUtilsMethods {
  9. /**
  10. * 将带驼峰字符串转成字符串
  11. * @param str 字符串
  12. */
  13. camelCase: typeof camelCase;
  14. }
  15. }
  16. export default camelCase