From f12e782a648af2434a10bfd94327dbc34637f5c1 Mon Sep 17 00:00:00 2001 From: gvergnaud Date: Fri, 9 Jun 2023 18:40:05 +0200 Subject: [PATCH] v5: update isMatching to take a value of type unknown instead of any --- src/is-matching.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/is-matching.ts b/src/is-matching.ts index e49f1eaf..63d97652 100644 --- a/src/is-matching.ts +++ b/src/is-matching.ts @@ -35,8 +35,8 @@ export function isMatching

>( */ export function isMatching

>( pattern: p, - value: any -): value is MatchedValue>; + value: unknown +): value is MatchedValue>; export function isMatching

>( ...args: [pattern: p, value?: any]