@cainiaofe/cn-ui-m
Version:
23 lines (22 loc) • 802 B
TypeScript
export declare const isStrictMiniApp: boolean;
export declare const isStrictWechatMiniProgram: boolean;
export declare const isStrictByteDanceMicroApp: boolean;
export declare const isMiniappPlatform: boolean;
declare let systemInfo: any;
export { systemInfo };
export declare const screenWidth: any;
export declare const screenHeight: any;
export declare const windowWidth: any;
export declare const windowHeight: any;
export declare const dpr: any;
export declare const osName: string;
export declare const osVersion: string;
export declare const isIOS: boolean;
export declare const isAndroid: boolean;
export declare const screenRate: number;
export declare const screenPixelRatio: number;
/**
* 判断是否是生产环境
* @type {Boolean}
*/
export declare const isProduction: () => boolean;