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;