Skip to content

Commit 7bb6729

Browse files
authored
fix: make datastore batch commit option extension optional (#194)
This should be optional
1 parent 9ad0ce5 commit 7bb6729

File tree

1 file changed

+1
-1
lines changed
  • packages/interface-datastore/src

1 file changed

+1
-1
lines changed

packages/interface-datastore/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export interface Pair {
1111
value: Uint8Array
1212
}
1313

14-
export interface Batch<BatchOptionsExtension> {
14+
export interface Batch<BatchOptionsExtension = {}> {
1515
put: (key: Key, value: Uint8Array) => void
1616
delete: (key: Key) => void
1717
commit: (options?: AbortOptions & BatchOptionsExtension) => Await<void>

0 commit comments

Comments
 (0)