From 93a277a4d4d624f5f3f9bcbde9f1543cb3f69c40 Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Tue, 8 Dec 2015 03:26:05 -0600 Subject: [PATCH] [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. --- chai/chai.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chai/chai.d.ts b/chai/chai.d.ts index 28aaf48c25..e68e6fa3b4 100644 --- a/chai/chai.d.ts +++ b/chai/chai.d.ts @@ -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 {