From 9aa40025ff417d1b7c7cf457d6edbcf85a032e76 Mon Sep 17 00:00:00 2001 From: bit0r1n Date: Wed, 14 Aug 2024 13:49:30 +0300 Subject: [PATCH] batchRead: fix type field, as it is required --- aerospike.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aerospike.d.ts b/aerospike.d.ts index 36af7c4..cfcc058 100644 --- a/aerospike.d.ts +++ b/aerospike.d.ts @@ -1302,9 +1302,9 @@ declare module "aerospike" { public batchGet(keys: IKey[], policy?: IBatchPolicyProps): Promise[]>; public batchGet(keys: IKey[], callback: TypedCallback[]>): void; public batchGet(keys: IKey[], policy: IBatchPolicyProps, callback: TypedCallback[]>): void; - public batchRead(records: Omit, policy?: IBatchReadPolicyProps): Promise; - public batchRead(records: Omit, callback: TypedCallback): void; - public batchRead(records: Omit, policy: IBatchReadPolicyProps, callback: TypedCallback): void; + public batchRead(records: IBatchRecord[], policy?: IBatchReadPolicyProps): Promise; + public batchRead(records: IBatchRecord[], callback: TypedCallback): void; + public batchRead(records: IBatchRecord[], policy: IBatchReadPolicyProps, callback: TypedCallback): void; public batchWrite(records: IBatchRecord[], policy?: IBatchWritePolicyProps): Promise; public batchWrite(records: IBatchRecord[], callback: TypedCallback): void; public batchWrite(records: IBatchRecord[], policy: IBatchReadPolicyProps, callback: TypedCallback): void;