Skip to content

Commit

Permalink
Add @types/events and fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Aug 31, 2024
1 parent 946f80c commit 23847c1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 152 deletions.
7 changes: 7 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"@tailwindcss/container-queries": "^0.1.1",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.13",
"@types/events": "^3.0.3",
"@types/google.maps": "^3.55.8",
"@types/lodash-es": "^4.17.12",
"@types/qrcode.react": "^1.0.5",
Expand Down Expand Up @@ -151,4 +152,4 @@
"node": ">=20.12.0"
},
"packageManager": "[email protected]"
}
}
150 changes: 0 additions & 150 deletions src/Components/Patient/Waveform.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion src/Utils/useTimer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const useTimer = () => {
const [time, setTime] = useState(0);

useEffect(() => {
let interval: NodeJS.Timeout;
let interval: number;
if (running) {
interval = setInterval(() => {
setTime((prevTime) => prevTime + 1);
Expand Down

0 comments on commit 23847c1

Please sign in to comment.