mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-28 08:17:54 +08:00
argument rename
This commit is contained in:
2
types/chai/index.d.ts
vendored
2
types/chai/index.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user