Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
shohamazon committed Apr 7, 2024
1 parent a3d3e2e commit fe9f9b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions node/src/BaseClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1319,7 +1319,7 @@ export class BaseClient {
*
* @example
* ```typescript
* // Example usage of the expireAt method on a key with no previus expiry
* // Example usage of the expireAt method on a key with no previous expiry
* const result = await client.expireAt("my_key", 1672531200, ExpireOptions.HasNoExpiry);
* console.log(result); // Output: true - Indicates that the expiration time for "my_key" was successfully set.
* ```
Expand Down Expand Up @@ -1348,7 +1348,7 @@ export class BaseClient {
*
* @example
* ```typescript
* // Example usage of the pexpire method on a key with no previus expiry
* // Example usage of the pexpire method on a key with no previous expiry
* const result = await client.pexpire("my_key", 60000, ExpireOptions.HasNoExpiry);
* console.log(result); // Output: true - Indicates that a timeout of 60,000 milliseconds has been set for "my_key".
* ```
Expand Down Expand Up @@ -1377,7 +1377,7 @@ export class BaseClient {
*
* @example
* ```typescript
* // Example usage of the pexpireAt method on a key with no previus expiry
* // Example usage of the pexpireAt method on a key with no previous expiry
* const result = await client.pexpireAt("my_key", 1672531200000, ExpireOptions.HasNoExpiry);
* console.log(result); // Output: true - Indicates that the expiration time for "my_key" was successfully set.
* ```
Expand Down

0 comments on commit fe9f9b6

Please sign in to comment.