Skip to content

Commit c47fde3

Browse files
committed
Lint return types on filterImplementations & filterByTag.
1 parent 11f6982 commit c47fde3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const allImplementations = implementations;
2424
* @param {Function<boolean>} options.filter - A function to
2525
* filter the map's entries on that returns true or false.
2626
*
27-
* @returns {Object<string, Map>} Returns an object with matching
27+
* @returns {{match: Map, nonMatch: Map}} Returns an object with matching
2828
* and non-matching maps.
2929
*/
3030
export const filterImplementations = ({
@@ -56,7 +56,7 @@ export const filterImplementations = ({
5656
* @param {string} [options.property='issuers'] - The property to search for on
5757
* an implementation.
5858
*
59-
* @returns {Object<string, Map>} Returns an object with matching
59+
* @returns {{match: Map, nonMatch: Map}} Returns an object with matching
6060
* and non-matching maps.
6161
*/
6262
export const filterByTag = ({

0 commit comments

Comments
 (0)