From 7bb6729f616546284c107eaf5dacf12598ea37a0 Mon Sep 17 00:00:00 2001 From: Alex Potsides Date: Wed, 22 Mar 2023 18:14:00 +0000 Subject: [PATCH] fix: make datastore batch commit option extension optional (#194) This should be optional --- packages/interface-datastore/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/interface-datastore/src/index.ts b/packages/interface-datastore/src/index.ts index 7dffd133..c6360bf7 100644 --- a/packages/interface-datastore/src/index.ts +++ b/packages/interface-datastore/src/index.ts @@ -11,7 +11,7 @@ export interface Pair { value: Uint8Array } -export interface Batch { +export interface Batch { put: (key: Key, value: Uint8Array) => void delete: (key: Key) => void commit: (options?: AbortOptions & BatchOptionsExtension) => Await