From c1489ad09b1efec470ba97eccf1cd1ca243496d6 Mon Sep 17 00:00:00 2001 From: Michal Miszczyszyn Date: Wed, 5 Jul 2017 17:22:40 +0200 Subject: [PATCH] sinon-stub-promise should extend Function --- types/sinon-stub-promise/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }