sinon-stub-promise should extend Function

This commit is contained in:
Michal Miszczyszyn
2017-07-05 17:34:35 +02:00
parent ab4871f427
commit c1489ad09b
+2 -2
View File
@@ -1,4 +1,4 @@
// Type definitions for sinon-stub-promise v1.0.1
// Type definitions for sinon-stub-promise v1.1.0
// Project: https://github.com/substantial/sinon-stub-promise
// Definitions by: Thiago Temple <https://github.com/vintem>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -7,7 +7,7 @@
/// <reference types="sinon"/>
declare module 'sinon' {
interface SinonPromise {
interface SinonPromise extends Function {
resolves(value?: any): void;
rejects(value?: any): void;
}