From d8ecf6029f4aeec89c8173c0920caa554e43e5c9 Mon Sep 17 00:00:00 2001 From: segayuu Date: Fri, 1 Dec 2017 13:21:21 +0900 Subject: [PATCH] argument rename --- types/chai/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/chai/index.d.ts b/types/chai/index.d.ts index 8a9d45d331..984e4103d1 100644 --- a/types/chai/index.d.ts +++ b/types/chai/index.d.ts @@ -988,7 +988,7 @@ declare namespace Chai { * @param errType Potential expected message match or error constructor. * @param message Message to display on error. */ - throws(fn: Function, regExp: RegExp|Function, message?: string): void; + throws(fn: Function, errType: RegExp|Function, message?: string): void; /** * Asserts that function will throw an error that is an instance of constructor