argument rename

This commit is contained in:
segayuu
2017-12-01 13:21:21 +09:00
committed by GitHub
parent e8b1de6864
commit d8ecf6029f

View File

@@ -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