From 2a9d078d0c4074ac3ddb6d7572e623b151efd84b Mon Sep 17 00:00:00 2001 From: vvakame Date: Thu, 3 Oct 2013 12:31:37 +0900 Subject: [PATCH] Fixed --noImplicitAny trouble about expect.js --- expect.js/expect.js-tests.ts.tscparams | 1 + expect.js/expect.js.d.ts | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 expect.js/expect.js-tests.ts.tscparams diff --git a/expect.js/expect.js-tests.ts.tscparams b/expect.js/expect.js-tests.ts.tscparams new file mode 100644 index 0000000000..e16c76dff8 --- /dev/null +++ b/expect.js/expect.js-tests.ts.tscparams @@ -0,0 +1 @@ +"" diff --git a/expect.js/expect.js.d.ts b/expect.js/expect.js.d.ts index c943f4e4f2..82f85b19d9 100644 --- a/expect.js/expect.js.d.ts +++ b/expect.js/expect.js.d.ts @@ -10,35 +10,35 @@ declare module Expect { /** * Check if the value is truthy */ - ok(); + ok(): void; /** * Assert that the function throws. * * @param fn callback to match error string against */ - throwError(fn?: Function); + throwError(fn?: Function): void; /** * Assert that the function throws. * * @param fn callback to match error string against */ - throwException(fn?: Function); + throwException(fn?: Function): void; /** * Assert that the function throws. * * @param regexp regexp to match error string against */ - throwError(regexp: RegExp); + throwError(regexp: RegExp): void; /** * Assert that the function throws. * * @param fn callback to match error string against */ - throwException(regexp: RegExp); + throwException(regexp: RegExp): void; /** * Checks if the array is empty.