Fixed --noImplicitAny trouble about expect.js

This commit is contained in:
vvakame
2013-10-03 12:31:37 +09:00
parent 2708bc05cd
commit 2a9d078d0c
2 changed files with 6 additions and 5 deletions

View File

@@ -0,0 +1 @@
""

View File

@@ -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.