@types/chai-spies
Advanced tools
Comparing version
@@ -145,7 +145,7 @@ // Type definitions for chai-spies 1.0.0 | ||
/** | ||
* #### chai.spy.object (function) | ||
* #### chai.spy.interface (function) | ||
* | ||
* Creates an object with spied methods. | ||
* ```ts | ||
* var object = chai.spy.object('Array', [ 'push', 'pop' ]); | ||
* var object = chai.spy.interface('Array', [ 'push', 'pop' ]); | ||
* ``` | ||
@@ -156,6 +156,6 @@ * @param {String} [name] object name | ||
*/ | ||
object(name: string, methods: string[]): any; | ||
object(methods: string[]): any; | ||
object<T>(name: string, methods: T): T; | ||
object<T>(methods: T): T; | ||
interface(name: string, methods: string[]): any; | ||
interface(methods: string[]): any; | ||
interface<T>(name: string, methods: T): T; | ||
interface<T>(methods: T): T; | ||
@@ -162,0 +162,0 @@ /** |
{ | ||
"name": "@types/chai-spies", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "TypeScript definitions for chai-spies", | ||
@@ -24,3 +24,3 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -35,4 +35,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "1e8332117a6ce6def81a88c89c1a8686f53d6bd287e2e098a05ae2229079c648", | ||
"typeScriptVersion": "3.0" | ||
"typesPublisherContentHash": "5265aaa2bc5a29e26b1aa7ed9c08a33f9b7e58b31ad06eccb246d09be8a4b163", | ||
"typeScriptVersion": "3.1" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-spies | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-spies. | ||
Additional Details | ||
* Last updated: Thu, 08 Aug 2019 16:09:06 GMT | ||
* Dependencies: @types/chai | ||
* Global values: spies | ||
### Additional Details | ||
* Last updated: Tue, 01 Sep 2020 13:12:48 GMT | ||
* Dependencies: [@types/chai](https://npmjs.com/package/@types/chai) | ||
* Global values: `spies` | ||
# Credits | ||
These definitions were written by Ilya Kuznetsov <https://github.com/kuzn-ilya>, Harm van der Werf <https://github.com/harm-less>, and Jouni Suorsa <https://github.com/jounisuo>. | ||
These definitions were written by [Ilya Kuznetsov](https://github.com/kuzn-ilya), [Harm van der Werf](https://github.com/harm-less), and [Jouni Suorsa](https://github.com/jounisuo). |
Sorry, the diff of this file is not supported yet
21874
0.15%