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;