18 lines
400 B
TypeScript
18 lines
400 B
TypeScript
// Module ID: 8937
|
|
// Function ID: 8938
|
|
// Name: getDevicePixelRatio
|
|
// Dependencies: [2]
|
|
// Exports: default
|
|
|
|
// Module 8937 (getDevicePixelRatio)
|
|
import set from "set" /* 2 */;
|
|
|
|
const result = set.fileFinishedImporting("utils/getDevicePixelRatio.web.tsx");
|
|
|
|
export default function getDevicePixelRatio() {
|
|
let num = window.devicePixelRatio;
|
|
if (num == null) {
|
|
num = 1;
|
|
}
|
|
return num;
|
|
};
|