Skip to content

Commit

Permalink
Merge pull request #282 from joshnuss/export-persisted-type
Browse files Browse the repository at this point in the history
Exports Persisted type
  • Loading branch information
joshnuss authored Jul 8, 2024
2 parents 9fdb968 + 4547855 commit 001e9f8
Show file tree
Hide file tree
Showing 3 changed files with 4,272 additions and 3,567 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 16.15.1
nodejs 20.2.0
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { writable as internal, type Writable } from 'svelte/store'
declare type Updater<T> = (value: T) => T;
declare type StoreDict<T> = { [key: string]: Persisted<T> }

interface Persisted<T> extends Writable<T> {
export interface Persisted<T> extends Writable<T> {
reset: () => void
}

Expand Down
Loading

0 comments on commit 001e9f8

Please sign in to comment.