Updated dependencies

This commit is contained in:
martin 2023-06-03 18:12:13 +02:00
parent ae1ec571f8
commit 58fb93fef0
3 changed files with 444 additions and 404 deletions

834
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -10,18 +10,18 @@
"license": "MIT",
"devDependencies": {
"autoprefixer": "^10.4.14",
"postcss": "^8.4.21",
"tailwindcss": "^3.3.1",
"typescript": "^5.0.3",
"vite": "^4.2.1",
"postcss": "^8.4.24",
"tailwindcss": "^3.3.2",
"typescript": "^5.1.3",
"vite": "^4.3.9",
"vite-plugin-solid": "^2.7.0"
},
"dependencies": {
"@types/diff": "^5.0.3",
"diff": "^5.1.0",
"solid-headless": "^0.13.1",
"solid-heroicons": "^3.1.1",
"solid-js": "^1.7.2",
"solid-heroicons": "^3.2.3",
"solid-js": "^1.7.6",
"xlsx": "^0.18.5"
}
}

View File

@ -5,5 +5,5 @@
* @returns The element with the given id, or null if it doesn't exist
*/
export function getElementById<T extends HTMLElement = HTMLElement>(id: string): T | null {
return document.getElementById(id) as T | null;
return <T>document.getElementById(id);
}