Skip to content

Commit

Permalink
Make syncTabs optional
Browse files Browse the repository at this point in the history
The README says this defaults to true, but the type says there is no default.
  • Loading branch information
mrexodia authored Feb 7, 2024
1 parent c645f71 commit 120cb95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export type StorageType = 'local' | 'session'
export interface Options<T> {
serializer?: Serializer<T>
storage?: StorageType,
syncTabs: boolean,
syncTabs?: boolean,
onError?: (e: unknown) => void
}

Expand Down

0 comments on commit 120cb95

Please sign in to comment.