mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
sinon-stub-promise should extend Function
This commit is contained in:
Vendored
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user