Skip to content

Commit

Permalink
docs: fix typo in Matcher example (#1896)
Browse files Browse the repository at this point in the history
  • Loading branch information
triptu authored Sep 4, 2023
1 parent f899d2d commit 2249999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/Matchers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* // will match days after the 2nd of February 2019
* const afterMatcher: DateAfter = { after: new Date(2019, 1, 2); };
* // will match days before the 2nd of February 2019 }
* const beforeMatcher: DateBefore = { before: : new Date(2019, 1, 2); };
* const beforeMatcher: DateBefore = { before: new Date(2019, 1, 2); };
*
* // will match Sundays
* const dayOfWeekMatcher: DayOfWeek = {
Expand Down

0 comments on commit 2249999

Please sign in to comment.