fix build

This commit is contained in:
CJ Pais 2025-06-27 12:37:06 -07:00
parent 0784d215b4
commit d2c73bda7a
3 changed files with 5 additions and 3 deletions

View file

@ -30,11 +30,12 @@
"zod": "^3.24.4"
},
"devDependencies": {
"@tauri-apps/cli": "^2",
"@types/node": "^24.0.6",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.4",
"typescript": "~5.6.2",
"vite": "^6.0.3",
"@tauri-apps/cli": "^2"
"vite": "^6.0.3"
}
}

View file

@ -12,7 +12,7 @@ const Footer: React.FC = () => {
const [version, setVersion] = useState("");
const [showUpToDate, setShowUpToDate] = useState(false);
const upToDateTimeoutRef = useRef<NodeJS.Timeout>();
const upToDateTimeoutRef = useRef<ReturnType<typeof setTimeout>>();
const isManualCheckRef = useRef(false);
const downloadedBytesRef = useRef(0);
const contentLengthRef = useRef(0);

View file

@ -3,6 +3,7 @@
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"types": ["node"],
"module": "ESNext",
"skipLibCheck": true,