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