fix build
This commit is contained in:
parent
0784d215b4
commit
d2c73bda7a
3 changed files with 5 additions and 3 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
"target": "ES2020",
|
||||
"useDefineForClassFields": true,
|
||||
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
||||
"types": ["node"],
|
||||
"module": "ESNext",
|
||||
"skipLibCheck": true,
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue