[chai] Correct type of AssertionError

AssertionError on the global chai object is the constructor for AssertionErrors, but the definition was written as though it was an instance of an assertion error.
This commit is contained in:
Colin Snover
2015-12-08 03:26:05 -06:00
parent 5c3e47967a
commit 93a277a4d4
+1 -1
View File
@@ -19,7 +19,7 @@ declare module Chai {
use(fn: (chai: any, utils: any) => void): any;
assert: AssertStatic;
config: Config;
AssertionError: AssertionError;
AssertionError: typeof AssertionError;
}
export interface ExpectStatic extends AssertionStatic {