Skip to content

Commit

Permalink
Improve text in comments.
Browse files Browse the repository at this point in the history
Thanks @TallTed

Co-authored-by: Ted Thibodeau Jr <[email protected]>
  • Loading branch information
BigBlueHat and TallTed committed Feb 11, 2025
1 parent 73f2b4f commit 9c8e6f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const allImplementations = implementations;
* @param {Map} [options.implementations=allImplementations] - A Map of
* implementations.
* @param {Function<boolean>} options.filter - A function to
* filter the map's entries on that returns true or false.
* filter the map's entries, that returns true or false.
*
* @returns {Object<string, Map>} Returns an object with matching

Check warning on line 30 in lib/main.js

View workflow job for this annotation

GitHub Actions / lint (20.x)

Use object shorthand or index signatures instead of `Object`, e.g., `{[key: string]: string}`
* and non-matching maps.
Expand Down Expand Up @@ -87,7 +87,7 @@ export const endpoints = {
* @param {Map} [options.implementations=allImplementations] - A Map of
* implementations.
* @param {Function<boolean>} options.filter - A function to
* filter the map's entries that returns true or false.
* filter the map's entries, that returns true or false.
*
* @returns {{match: Map, nonMatch: Map}} Returns an object with matching
* and non-matching Maps with respective endpoints.
Expand Down

0 comments on commit 9c8e6f2

Please sign in to comment.