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.