Update package dependencies and refactor types in Nostr-related components
- Upgrade @types/node to version 22.18.1 and add @types/qrcode version 1.5.5 in package.json and package-lock.json. - Refactor cleanupInterval and reconnectInterval types from NodeJS.Timeout to number in various Nostr-related files for better type compatibility. - Enhance error handling in useNostrclientHub and useNostrChat components by specifying error parameter types.
This commit is contained in:
parent
a551f46c90
commit
54b013490e
8 changed files with 65 additions and 28 deletions
|
|
@ -53,7 +53,8 @@
|
|||
"@tailwindcss/forms": "^0.5.10",
|
||||
"@tailwindcss/typography": "^0.5.16",
|
||||
"@tailwindcss/vite": "^4.0.12",
|
||||
"@types/node": "^22.13.10",
|
||||
"@types/node": "^22.18.1",
|
||||
"@types/qrcode": "^1.5.5",
|
||||
"@types/rollup-plugin-visualizer": "^4.2.3",
|
||||
"@vitejs/plugin-vue": "^5.2.1",
|
||||
"@vue/tsconfig": "^0.7.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue