Skip to content

Commit

Permalink
docs: update intersection jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
tabcat committed Aug 24, 2024
1 parent 1739af7 commit d513544
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/intersection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { pairwiseTraversal } from "./util.js";
/**
* Yields the intersection of two ordered sets.
*
* @param source - Set from which to remove elements
* @param target - Set of elements to be removed
* @param source - Set from which matched element will be yielded
* @param target - Set of elements to check for matches
* @param comparator - Used to compare two set elements, same as Array.sort parameter
*/
export function* intersection<T, A extends T>(
Expand Down

0 comments on commit d513544

Please sign in to comment.