We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ad0ce5 commit 7bb6729Copy full SHA for 7bb6729
packages/interface-datastore/src/index.ts
@@ -11,7 +11,7 @@ export interface Pair {
11
value: Uint8Array
12
}
13
14
-export interface Batch<BatchOptionsExtension> {
+export interface Batch<BatchOptionsExtension = {}> {
15
put: (key: Key, value: Uint8Array) => void
16
delete: (key: Key) => void
17
commit: (options?: AbortOptions & BatchOptionsExtension) => Await<void>
0 commit comments