From 4547855bc55ae79b8df20afbafbc9cb668fb45c1 Mon Sep 17 00:00:00 2001 From: Josh Nussbaum Date: Mon, 8 Jul 2024 18:42:32 -0400 Subject: [PATCH] Exports Persisted type --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 6ccb3be..b1f247f 100644 --- a/index.ts +++ b/index.ts @@ -3,7 +3,7 @@ import { writable as internal, type Writable } from 'svelte/store' declare type Updater = (value: T) => T; declare type StoreDict = { [key: string]: Persisted } -interface Persisted extends Writable { +export interface Persisted extends Writable { reset: () => void }