trimLeft.d.ts 372 B

12345678910111213141516171819
  1. import { XEUtilsMethods } from '../xe-utils'
  2. /**
  3. * 去除字符串左边的空格
  4. * @param str 字符串
  5. */
  6. export declare function trimLeft(str: string): string;
  7. declare module '../xe-utils' {
  8. interface XEUtilsMethods {
  9. /**
  10. * 去除字符串左边的空格
  11. * @param str 字符串
  12. */
  13. trimLeft: typeof trimLeft;
  14. }
  15. }
  16. export default trimLeft