From b68cc4ec54c8740a33be8f4f55be7e09c7653d35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Spie=C3=9F?= Date: Fri, 18 Aug 2017 02:07:16 +0200 Subject: [PATCH] =?UTF-8?q?Use=20=E2=80=9C{}=E2=80=9D=20type=20in=20approp?= =?UTF-8?q?riate=20places?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/should/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/should/index.d.ts b/types/should/index.d.ts index 041e8ee7b2..96584bfe96 100644 --- a/types/should/index.d.ts +++ b/types/should/index.d.ts @@ -93,7 +93,7 @@ interface ShouldAssertion { enumerables(...properties: string[]): ShouldAssertion; startWith(expected: string, message?: any): ShouldAssertion; endWith(expected: string, message?: any): ShouldAssertion; - throw(message?: any, properties?: Object): ShouldAssertion; + throw(message?: any, properties?: {}): ShouldAssertion; //promises eventually: ShouldAssertion; @@ -101,7 +101,7 @@ interface ShouldAssertion { fulfilled(): Promise; fulfilledWith(value: any): Promise rejected(): Promise; - rejectedWith(message: (string | Function | RegExp), properties?: Object): Promise; + rejectedWith(message: (string | Function | RegExp), properties?: {}): Promise; rejectedWith(errType: Object): Promise; //http @@ -139,7 +139,7 @@ interface ShouldAssertion { deepEqual(expected: any, description?: string): ShouldAssertion; exactly(expected: any, description?: string): ShouldAssertion; instanceOf(constructor: Function, description?: string): ShouldAssertion; - throwError(message?: any, properties?: Object): ShouldAssertion; + throwError(message?: any, properties?: {}): ShouldAssertion; lengthOf(n: number, description?: string): ShouldAssertion; key(key: string): ShouldAssertion; hasOwnProperty(name: string, description?: string): ShouldAssertion;