toNumber.d.ts 293 B

1234567891011121314
  1. /**
  2. * 转数值
  3. * @param num 数值/字符串
  4. */
  5. export declare function toNumber(num: number | string | null): number;
  6. export declare function toNumber(num: any): number;
  7. declare module './ctor' {
  8. interface XEUtilsMethods {
  9. toNumber: typeof toNumber;
  10. }
  11. }
  12. export default toNumber