Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: matcher api reference page uses incorrect object syntax #1978

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

janaiscoding
Copy link
Contributor

@janaiscoding janaiscoding commented Nov 26, 2023

Context

Closes #1976
I would like to improve the website docs as per the contributing guide's website proofreading line.

Analysis

It's important that the documentation is consistent and correct, which is why I would like to add these small fixes to the typos

Solution

Removed the incorrect ; from the following lines:
const arrayMatcher: Matcher = [new Date(2019, 1, 2);, new Date(2019, 1, 4)];
const afterMatcher: DateAfter = { after: new Date(2019, 1, 2); };
const beforeMatcher: DateBefore = { before: new Date(2019, 1, 2); };
const rangeMatcher: DateRange = { from: new Date(2019, 1, 2);, to: new Date(2019, 1, 5) };
on the Type alias: Matcher API reference documentation

@gpbl gpbl changed the title Fix: Docs. Type alias: Matcher api reference page uses incorrect object syntax docs: matcher api reference page uses incorrect object syntax Dec 7, 2023
@gpbl gpbl merged commit cc64836 into gpbl:main Dec 7, 2023
11 of 13 checks passed
@gpbl
Copy link
Owner

gpbl commented Dec 7, 2023

Awesome, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix: Docs. Type alias: Matcher api reference page uses incorrect ";" in the examples
2 participants