From cc65a562b4ee991b28251488681160614b6f28c2 Mon Sep 17 00:00:00 2001 From: atychyna Date: Wed, 7 Aug 2024 17:27:20 -0400 Subject: [PATCH] Fixing signature of `batchRead` (should accept array of records instead of single record) --- typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index dd3cb105..ffa68a58 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -193,7 +193,7 @@ declare module 'client' { bins?: string[]; readAllBins?: boolean; ops?: any[]; - }, policy?: BatchPolicy, callback?: batchRecordsCallback | undefined): Promise | null; + }[], policy?: BatchPolicy, callback?: batchRecordsCallback | undefined): Promise | null; batchWrite(records: { type: number; key: Key;