@types/lockr
Advanced tools
Comparing version 0.8.9 to 0.8.10
@@ -10,3 +10,2 @@ // Type definitions for lockr 0.8.3 | ||
interface LockrStatic { | ||
/** | ||
@@ -16,6 +15,6 @@ * The prefix used by lockr. | ||
prefix: string; | ||
/** | ||
* Set a key to a particular value or a hash object (Object or Array) under a hash key. | ||
* @param key | ||
* @param key | ||
* @param value | ||
@@ -27,3 +26,3 @@ */ | ||
* Set a key to a particular value or a hash object (Object or Array) under a hash key. | ||
* @param key | ||
* @param key | ||
* @param value | ||
@@ -35,3 +34,3 @@ */ | ||
* Removes all data associated to a key. | ||
* @param key | ||
* @param key | ||
*/ | ||
@@ -41,6 +40,6 @@ rm(key: string): void; | ||
/** | ||
* Returns the saved value for given key, even if the saved value is hash object. | ||
* Returns the saved value for given key, even if the saved value is hash object. | ||
* If value is null or undefined it returns a default value. | ||
* @param key | ||
* @param defaultValue | ||
* @param key | ||
* @param defaultValue | ||
*/ | ||
@@ -51,4 +50,4 @@ get<T>(key: string, defaultValue?: T): T; | ||
* Adds a unique value to a particular set under a hash key. | ||
* @param key | ||
* @param value | ||
* @param key | ||
* @param value | ||
*/ | ||
@@ -59,4 +58,4 @@ sadd(key: string, value: string | number | Object): void; | ||
* Adds a unique value to a particular set under a hash key. | ||
* @param key | ||
* @param value | ||
* @param key | ||
* @param value | ||
*/ | ||
@@ -67,3 +66,3 @@ sadd<T>(key: string, value: Array<T>): void; | ||
* Returns the values of a particular set under a hash key. | ||
* @param key | ||
* @param key | ||
*/ | ||
@@ -74,3 +73,3 @@ smembers(key: string): (string | number | Object)[]; | ||
* Returns the values of a particular set under a hash key. | ||
* @param key | ||
* @param key | ||
*/ | ||
@@ -81,4 +80,4 @@ smembers<T>(key: string): Array<T>; | ||
* Returns whether the value exists in a particular set under a hash key. | ||
* @param key | ||
* @param value | ||
* @param key | ||
* @param value | ||
*/ | ||
@@ -89,4 +88,4 @@ sismember(key: string, value: string | number | Object): boolean; | ||
* Returns whether the value exists in a particular set under a hash key. | ||
* @param key | ||
* @param value | ||
* @param key | ||
* @param value | ||
*/ | ||
@@ -97,4 +96,4 @@ sismember<T>(key: string, value: Array<T>): boolean; | ||
* Removes a value from a particular set under a hash key. | ||
* @param key | ||
* @param value | ||
* @param key | ||
* @param value | ||
*/ | ||
@@ -105,4 +104,4 @@ srem(key: string, value: string | number | Object): void; | ||
* Removes a value from a particular set under a hash key. | ||
* @param key | ||
* @param value | ||
* @param key | ||
* @param value | ||
*/ | ||
@@ -128,5 +127,4 @@ srem<T>(key: string, value: Array<T>): void; | ||
declare module "lockr" { | ||
export = Lockr; | ||
} |
{ | ||
"name": "@types/lockr", | ||
"version": "0.8.9", | ||
"version": "0.8.10", | ||
"description": "TypeScript definitions for lockr", | ||
@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lockr", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "b711a5f19e67a276af07d41ae4f5b0bf9db06d1eb2203abdcc52adeccd4856f7", | ||
"typesPublisherContentHash": "bad9d5d36ffc25fbb99a0de71dd6720c6955f06d54c58042c5885ae848e8e3a9", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 25 Aug 2023 17:33:45 GMT | ||
* Last updated: Wed, 30 Aug 2023 19:35:11 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `Lockr` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5645