Blame view

src/wxcomponents/vant/common/utils.d.ts 514 Bytes
289f85d9e   Adam   提交
1
2
3
4
5
6
7
8
  /// <reference types="miniprogram-api-typings" />
  export declare function isDef(value: any): boolean;
  export declare function isObj(x: any): boolean;
  export declare function isNumber(value: any): boolean;
  export declare function range(num: number, min: number, max: number): number;
  export declare function nextTick(fn: Function): void;
  export declare function getSystemInfoSync(): WechatMiniprogram.GetSystemInfoSuccessCallbackResult;
  export declare function addUnit(value?: string | number): string | undefined;