@types/chai
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -9,2 +9,3 @@ // Type definitions for chai 4.0.0 | ||
// Josh Goldberg <https://github.com/joshuakgoldberg> | ||
// Shaun Luttin <https://github.com/shaunluttin> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -492,2 +493,20 @@ | ||
/** | ||
* Asserts that the target is neither null nor undefined. | ||
* | ||
* @type T Type of value. | ||
* @param value Actual value. | ||
* @param message Message to display on error. | ||
*/ | ||
exists<T>(value: T, message?: string): void; | ||
/** | ||
* Asserts that the target is either null or undefined. | ||
* | ||
* @type T Type of value. | ||
* @param value Actual value. | ||
* @param message Message to display on error. | ||
*/ | ||
notExists<T>(value: T, message?: string): void; | ||
/** | ||
* Asserts that value is undefined. | ||
@@ -1323,2 +1342,13 @@ * | ||
notFrozen<T>(object: T, message?: string): void; | ||
/** | ||
* Asserts that the target contains values. For arrays and strings, it checks | ||
* the length property. For Map and Set instances, it checks the size property. | ||
* For non-function objects, it gets the count of own enumerable string keys. | ||
* | ||
* @type T Type of object. | ||
* @param object Object to test. | ||
* @param message Message to display on error. | ||
*/ | ||
isNotEmpty<T>(object: T, message?: string): void; | ||
} | ||
@@ -1325,0 +1355,0 @@ |
{ | ||
"name": "@types/chai", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "TypeScript definitions for chai", | ||
@@ -30,2 +30,6 @@ "license": "MIT", | ||
"url": "https://github.com/joshuakgoldberg" | ||
}, | ||
{ | ||
"name": "Shaun Luttin", | ||
"url": "https://github.com/shaunluttin" | ||
} | ||
@@ -41,4 +45,4 @@ ], | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "ab9728c58cd5913ce5dc9fee223771a1f4ba0c2ede1e2adaf1f6ec561969a183", | ||
"typesPublisherContentHash": "ee4102a68946ddeea9cdf7a2d569e86c3f8390d025cca9b738b34bad6324d4e5", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 23 Jun 2017 17:35:05 GMT | ||
* Last updated: Tue, 01 Aug 2017 14:04:54 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: Chai, chai | ||
# Credits | ||
These definitions were written by Jed Mao <https://github.com/jedmao/>, Bart van der Schoor <https://github.com/Bartvds>, Andrew Brown <https://github.com/AGBrown>, Olivier Chevet <https://github.com/olivr70>, Matt Wistrand <https://github.com/mwistrand>, Josh Goldberg <https://github.com/joshuakgoldberg>. | ||
These definitions were written by Jed Mao <https://github.com/jedmao/>, Bart van der Schoor <https://github.com/Bartvds>, Andrew Brown <https://github.com/AGBrown>, Olivier Chevet <https://github.com/olivr70>, Matt Wistrand <https://github.com/mwistrand>, Josh Goldberg <https://github.com/joshuakgoldberg>, Shaun Luttin <https://github.com/shaunluttin>. |
Sorry, the diff of this file is not supported yet
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
53585
1234