From bf371ac1fa1e54b8a80cad3990ecbac14a2ca63f Mon Sep 17 00:00:00 2001 From: Younho Choo Date: Sat, 26 Feb 2022 14:43:56 +0900 Subject: [PATCH] Update `setHas()` Co-authored-by: Jonah Snider --- source/set-has.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/set-has.ts b/source/set-has.ts index f79d69d..b2a02c0 100644 --- a/source/set-has.ts +++ b/source/set-has.ts @@ -20,7 +20,7 @@ if (setHas(valueSet, valueToCheck)) { @category Type guard */ export function setHas( - set: Set, + set: ReadonlySet, item: unknown, ): item is Type { return set.has(item as Type);