We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03dbfe6 commit afbc44fCopy full SHA for afbc44f
1 file changed
src/is-matching.ts
@@ -35,8 +35,8 @@ export function isMatching<p extends Pattern<unknown>>(
35
*/
36
export function isMatching<p extends Pattern<unknown>>(
37
pattern: p,
38
- value: any
39
-): value is MatchedValue<any, P.infer<p>>;
+ value: unknown
+): value is P.infer<p>;
40
41
export function isMatching<p extends Pattern<any>>(
42
...args: [pattern: p, value?: any]
0 commit comments