Skip to content

Commit

Permalink
fix value types in example
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurmilliken committed Mar 3, 2022
1 parent d63c954 commit 0458c86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ declare module "node-lmdb" {
/**
* Array argument for Env.batchWrite()
* @example [db: Dbi, key: Key] // DELETE operation
* @example [db: Dbi, key: Key, value: Value] // PUT operation (if Value represents a string, must be null-terminated)
* @example [db: Dbi, key: Key, value: Value, ifValue: Value] // PUT IF operation (if Value or ifValue represents a string, must be null-terminated)
* @example [db: Dbi, key: Key, value: Buffer] // PUT operation (if Value represents a string, must be null-terminated)
* @example [db: Dbi, key: Key, value: Buffer, ifValue: Buffer] // PUT IF operation (if Value or ifValue represents a string, must be null-terminated)
*/
type BatchOperationArray =
| [db: Dbi, key: Key]
Expand Down

0 comments on commit 0458c86

Please sign in to comment.