diff --git a/types/sinon-stub-promise/index.d.ts b/types/sinon-stub-promise/index.d.ts index 10fc8adf4c..2141009456 100644 --- a/types/sinon-stub-promise/index.d.ts +++ b/types/sinon-stub-promise/index.d.ts @@ -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 // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -7,7 +7,7 @@ /// declare module 'sinon' { - interface SinonPromise { + interface SinonPromise extends Function { resolves(value?: any): void; rejects(value?: any): void; }