toJSONString.d.ts 353 B

12345678910111213141516171819
  1. import { XEUtilsMethods } from '../xe-utils'
  2. /**
  3. * JSON 转字符串
  4. * @param obj 对象
  5. */
  6. export declare function toJSONString(obj: any): string;
  7. declare module '../xe-utils' {
  8. interface XEUtilsMethods {
  9. /**
  10. * JSON 转字符串
  11. * @param obj 对象
  12. */
  13. toJSONString: typeof toJSONString;
  14. }
  15. }
  16. export default toJSONString