expect.js: fixed definition (fixes test)

This commit is contained in:
Igor Oleinikov
2013-12-19 14:54:18 +04:00
parent 6dc1c510de
commit f0e73667f2
+2 -2
View File
@@ -17,14 +17,14 @@ declare module Expect {
*
* @param fn callback to match error string against
*/
throwError(fn?: Function): void;
throwError(fn?: (exception: any) => void): void;
/**
* Assert that the function throws.
*
* @param fn callback to match error string against
*/
throwException(fn?: Function): void;
throwException(fn?: (exception: any) => void): void;
/**
* Assert that the function throws.