@types/chai-almost
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -1,7 +0,1 @@ | ||
// Type definitions for chai-almost 1.0 | ||
// Project: https://github.com/nmuldavin/chai-almost#readme | ||
// Definitions by: Lennard Schulz <https://github.com/kclnn> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 3.0 | ||
/// <reference types="chai" /> | ||
@@ -8,0 +2,0 @@ |
{ | ||
"name": "@types/chai-almost", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "TypeScript definitions for chai-almost", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-almost", | ||
"license": "MIT", | ||
@@ -9,8 +10,8 @@ "contributors": [ | ||
"name": "Lennard Schulz", | ||
"url": "https://github.com/kclnn", | ||
"githubUsername": "kclnn" | ||
"githubUsername": "kclnn", | ||
"url": "https://github.com/kclnn" | ||
} | ||
], | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -25,4 +26,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "98f9e04826e92b56808933cfa73cb7cee30c1e00f2a94f372cd2d39e718ac023", | ||
"typeScriptVersion": "3.0" | ||
"typesPublisherContentHash": "e9cd48a414ab50770ba985f360636d75c33118ed8e14c3990815ae19663e3141", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -8,10 +8,41 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-almost | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-almost. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-almost/index.d.ts) | ||
````ts | ||
/// <reference types="chai" /> | ||
Additional Details | ||
* Last updated: Thu, 08 Aug 2019 16:09:05 GMT | ||
* Dependencies: @types/chai | ||
* Global values: none | ||
declare global { | ||
namespace Chai { | ||
interface Assertion { | ||
almost: ChaiAlmost.Almost; | ||
} | ||
interface Deep { | ||
almost: ChaiAlmost.DeepAlmost; | ||
} | ||
namespace ChaiAlmost { | ||
interface DeepAlmost { | ||
(value: any, toleranceOverride?: number): Assertion; | ||
equal: Equal; | ||
equals: Equal; | ||
eq: Equal; | ||
} | ||
interface Almost extends DeepAlmost { | ||
eql: Equal; | ||
eqls: Equal; | ||
} | ||
} | ||
} | ||
} | ||
declare function chaiAlmost(tolerance?: number): Chai.ChaiPlugin; | ||
export = chaiAlmost; | ||
```` | ||
### Additional Details | ||
* Last updated: Tue, 17 Oct 2023 22:10:14 GMT | ||
* Dependencies: [@types/chai](https://npmjs.com/package/@types/chai) | ||
# Credits | ||
These definitions were written by Lennard Schulz <https://github.com/kclnn>. | ||
These definitions were written by [Lennard Schulz](https://github.com/kclnn). |
Sorry, the diff of this file is not supported yet
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4018
0
48
25