Skip to content

Commit

Permalink
Update setHas()
Browse files Browse the repository at this point in the history
Co-authored-by: Jonah Snider <[email protected]>
  • Loading branch information
younho9 and jonahsnider authored Feb 26, 2022
1 parent 39b3143 commit bf371ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/set-has.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if (setHas(valueSet, valueToCheck)) {
@category Type guard
*/
export function setHas<Type>(
set: Set<Type>,
set: ReadonlySet<Type>,
item: unknown,
): item is Type {
return set.has(item as Type);
Expand Down

0 comments on commit bf371ac

Please sign in to comment.