@types/chai-like
Advanced tools
Comparing version 1.1.0 to 1.1.1
// Type definitions for chai-like 1.1 | ||
// Project: https://github.com/zation/chai-like | ||
// Definitions by: Chayim Refael Friedman <https://github.com/DefinitelyTyped> | ||
// Definitions by: Chayim Refael Friedman <https://github.com/ChayimFriedman2> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -5,0 +5,0 @@ // TypeScript Version: 3.0 |
{ | ||
"name": "@types/chai-like", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "TypeScript definitions for chai-like", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-like", | ||
"license": "MIT", | ||
@@ -9,4 +10,4 @@ "contributors": [ | ||
"name": "Chayim Refael Friedman", | ||
"url": "https://github.com/DefinitelyTyped", | ||
"githubUsername": "DefinitelyTyped" | ||
"url": "https://github.com/ChayimFriedman2", | ||
"githubUsername": "ChayimFriedman2" | ||
} | ||
@@ -25,4 +26,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "4a04996af84fef5b4e00153984bfedeb64c2c32000f45b11cbfa3017b9a1cfaf", | ||
"typeScriptVersion": "3.0" | ||
"typesPublisherContentHash": "d9099359729aa36c097d33c5c225d6979dab0532a644e1e478f53905cc4976b7", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -8,10 +8,44 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-like | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-like. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-like/index.d.ts) | ||
````ts | ||
// Type definitions for chai-like 1.1 | ||
// Project: https://github.com/zation/chai-like | ||
// Definitions by: Chayim Refael Friedman <https://github.com/ChayimFriedman2> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 3.0 | ||
Additional Details | ||
* Last updated: Thu, 07 Nov 2019 21:05:46 GMT | ||
* Dependencies: @types/chai | ||
/// <reference types="chai" /> | ||
declare global { | ||
namespace Chai { | ||
interface Assertion extends LanguageChains, NumericComparison, TypeComparison { | ||
like(expected: any): void; | ||
} | ||
} | ||
} | ||
declare namespace ChaiLike { | ||
interface Plugin { | ||
match(object: any, expected: any): boolean; | ||
assert(object: any, expected: any): boolean; | ||
} | ||
interface ChaiLike extends Chai.ChaiPlugin { | ||
extend(plugin: Plugin): void; | ||
clearPlugins(): void; | ||
} | ||
} | ||
declare const chaiLike: ChaiLike.ChaiLike; | ||
export = chaiLike; | ||
```` | ||
### Additional Details | ||
* Last updated: Thu, 08 Jul 2021 22:41:03 GMT | ||
* Dependencies: [@types/chai](https://npmjs.com/package/@types/chai) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Chayim Refael Friedman <https://github.com/DefinitelyTyped>. | ||
These definitions were written by [Chayim Refael Friedman](https://github.com/ChayimFriedman2). |
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4332
0
51