mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
[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:
Vendored
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user