From f0e73667f229bb7d96a5bb3f382c1224e39e04d2 Mon Sep 17 00:00:00 2001 From: Igor Oleinikov Date: Thu, 19 Dec 2013 14:54:18 +0400 Subject: [PATCH] expect.js: fixed definition (fixes test) --- expect.js/expect.js.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/expect.js/expect.js.d.ts b/expect.js/expect.js.d.ts index 82f85b19d9..e19f769b65 100644 --- a/expect.js/expect.js.d.ts +++ b/expect.js/expect.js.d.ts @@ -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.