Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4745.js (118.4 MB)
20 lines
486 B
TypeScript
20 lines
486 B
TypeScript
// Module ID: 1878
|
|
// Function ID: 1879
|
|
// Name: getDevicePixelRatio
|
|
// Dependencies: [17, 2]
|
|
// Exports: default
|
|
|
|
// Module 1878 (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;
|
|
};
|