diff --git a/source/options/stores/alert-store.ts b/source/options/stores/alert-store.ts index 1a02f08..46026e7 100644 --- a/source/options/stores/alert-store.ts +++ b/source/options/stores/alert-store.ts @@ -1,11 +1,13 @@ import type { Writable } from 'svelte/store'; import { writable } from 'svelte/store'; +interface Alert { + variant: string | null; + message: string | null; +} + function createStore() { - const { - subscribe, - set, - }: Writable<{ variant: string | null; message: string | null }> = writable({ + const { subscribe, set }: Writable = writable({ variant: null, message: null, });