Skip to content

Commit f9fe8f2

Browse files
ChristianMurphysindresorhus
authored andcommitted
Add type definitions to notRegex (#979)
1 parent 1c6abe0 commit f9fe8f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/base.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export interface AssertContext {
9292
/**
9393
* Assert that contents does not match regex.
9494
*/
95-
notRegex(contents, regex, message?: string): void;
95+
notRegex(contents: string, regex: RegExp, message?: string): void;
9696
/**
9797
* Assert that error is falsy.
9898
*/

0 commit comments

Comments
 (0)