Skip to content

Commit

Permalink
batchRead: fix type field, as it is required
Browse files Browse the repository at this point in the history
  • Loading branch information
bit0r1n committed Aug 14, 2024
1 parent a3e0aab commit 9aa4002
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aerospike.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1302,9 +1302,9 @@ declare module "aerospike" {
public batchGet<T extends AerospikeBins = AerospikeBins>(keys: IKey[], policy?: IBatchPolicyProps): Promise<IBatchResult<T>[]>;
public batchGet<T extends AerospikeBins = AerospikeBins>(keys: IKey[], callback: TypedCallback<IBatchResult<T>[]>): void;
public batchGet<T extends AerospikeBins = AerospikeBins>(keys: IKey[], policy: IBatchPolicyProps, callback: TypedCallback<IBatchResult<T>[]>): void;
public batchRead(records: Omit<IBatchRecord[], "type">, policy?: IBatchReadPolicyProps): Promise<IBatchResult[]>;
public batchRead(records: Omit<IBatchRecord[], "type">, callback: TypedCallback<IBatchResult[]>): void;
public batchRead(records: Omit<IBatchRecord[], "type">, policy: IBatchReadPolicyProps, callback: TypedCallback<IBatchResult[]>): void;
public batchRead(records: IBatchRecord[], policy?: IBatchReadPolicyProps): Promise<IBatchResult[]>;
public batchRead(records: IBatchRecord[], callback: TypedCallback<IBatchResult[]>): void;
public batchRead(records: IBatchRecord[], policy: IBatchReadPolicyProps, callback: TypedCallback<IBatchResult[]>): void;
public batchWrite(records: IBatchRecord[], policy?: IBatchWritePolicyProps): Promise<IBatchResult[]>;
public batchWrite(records: IBatchRecord[], callback: TypedCallback<IBatchResult[]>): void;
public batchWrite(records: IBatchRecord[], policy: IBatchReadPolicyProps, callback: TypedCallback<IBatchResult[]>): void;
Expand Down

0 comments on commit 9aa4002

Please sign in to comment.