Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
26 lines
681 B
TypeScript
26 lines
681 B
TypeScript
// Module ID: 17751
|
|
// Function ID: 17752
|
|
// Name: AppInfoUtils
|
|
// Dependencies: [1367, 2]
|
|
// Exports: getAppMajorVersion
|
|
|
|
// Module 17751 (AppInfoUtils)
|
|
import ClientInfoUtils from "ClientInfoUtils" /* 1367 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const constants = ClientInfoUtils.getConstants();
|
|
const result = size.fileFinishedImporting("utils/native/AppInfoUtils.tsx");
|
|
|
|
export const getAppMajorVersion = function getAppMajorVersion() {
|
|
if (undefined === closure_0) {
|
|
return -1;
|
|
} else {
|
|
const parts = tmp.Version.split(".");
|
|
let num = -1;
|
|
if (2 === parts.length) {
|
|
const _Number = Number;
|
|
num = Number(parts[0]);
|
|
}
|
|
return num;
|
|
}
|
|
};
|