From e65ccf064fa9763d89d0f312637b7277b64b1fed Mon Sep 17 00:00:00 2001 From: Denis Bardadym Date: Sat, 7 Oct 2017 17:19:30 +0300 Subject: [PATCH] Add missing return type --- should.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/should.d.ts b/should.d.ts index 6023c88..7cdef10 100644 --- a/should.d.ts +++ b/should.d.ts @@ -169,8 +169,8 @@ declare namespace should { fulfilledWith(obj: any): Promise; resolvedWith(obj: any): Promise; - rejectedWith(msg: RegExp | string | Error, properties?: {}); - rejectedWith(properties: {}); + rejectedWith(msg: RegExp | string | Error, properties?: {}): Promise; + rejectedWith(properties: {}): Promise; finally: PromisedAssertion; eventually: PromisedAssertion;