initial cleanup

This commit is contained in:
terraputix
2026-01-07 23:45:10 +01:00
parent 2d31df88f0
commit f781ef4fd6
325 changed files with 1903 additions and 1000 deletions
+3 -2
View File
@@ -3,7 +3,7 @@ import { writable } from 'svelte/store';
// Placeholder function for urlHashStore
// In a real application, this would handle URL hash parameters
// and return a Svelte store that reflects those parameters.
export function urlHashStore(initialValue: Record<string, any>) {
export function urlHashStore(initialValue: Record<string, unknown>) {
const { subscribe, set, update } = writable(initialValue);
// In a full implementation, you would add logic here to:
@@ -18,6 +18,7 @@ export function urlHashStore(initialValue: Record<string, any>) {
set,
update,
// You might want to add methods to easily update specific hash parameters
updateParam: (key: string, value: any) => update((current) => ({ ...current, [key]: value }))
updateParam: (key: string, value: unknown) =>
update((current) => ({ ...current, [key]: value }))
};
}