Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5021.js (118.4 MB)
20 lines
486 B
TypeScript
20 lines
486 B
TypeScript
// Module ID: 1880
|
|
// Function ID: 1881
|
|
// Name: getDevicePixelRatio
|
|
// Dependencies: [17, 2]
|
|
// Exports: default
|
|
|
|
// Module 1880 (getDevicePixelRatio)
|
|
import _mod17 from "module_17" /* 17 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const PixelRatio = _mod17.PixelRatio;
|
|
const result = size.fileFinishedImporting("utils/getDevicePixelRatio.native.tsx");
|
|
|
|
export default function getDevicePixelRatio() {
|
|
let num = PixelRatio.get();
|
|
if (num == null) {
|
|
num = 1;
|
|
}
|
|
return num;
|
|
};
|