Skip to content

Commit

Permalink
Add type definitions to notRegex (#979)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianMurphy authored and sindresorhus committed Jul 24, 2016
1 parent 1c6abe0 commit f9fe8f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/base.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export interface AssertContext {
/**
* Assert that contents does not match regex.
*/
notRegex(contents, regex, message?: string): void;
notRegex(contents: string, regex: RegExp, message?: string): void;
/**
* Assert that error is falsy.
*/
Expand Down

0 comments on commit f9fe8f2

Please sign in to comment.