File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -118,15 +118,17 @@ interface ShouldAssertion {
118118 enumerables ( ...properties : string [ ] ) : ShouldAssertion ;
119119 startWith ( expected : string , message ?: any ) : ShouldAssertion ;
120120 endWith ( expected : string , message ?: any ) : ShouldAssertion ;
121- throw ( message ?: any ) : ShouldAssertion ;
121+ throw ( propereties ?: { } ) : ShouldAssertion ;
122+ throw ( message : Function | string | RegExp , properties ?: { } ) : ShouldAssertion ;
122123
123124 //promises
124125 eventually : ShouldAssertion ;
125126 finally : ShouldAssertion ;
126127 fulfilled ( ) : Promise < any > ;
127128 fulfilledWith ( value : any ) : Promise < any > ;
128129 rejected ( ) : Promise < any > ;
129- rejectedWith ( err : Error | string | RegExp ) : Promise < any > ;
130+ rejectedWith ( err : Function | string | RegExp , properties ?: { } ) : Promise < any > ;
131+ rejectedWith ( properties : { } ) : Promise < any > ;
130132
131133 //http
132134 header ( field : string , val ?: string ) : ShouldAssertion ;
You can’t perform that action at this time.
0 commit comments