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 2352f00 commit 442a0c3Copy full SHA for 442a0c3
src/is-matching.ts
@@ -17,7 +17,7 @@ import { matchPattern } from './internals/helpers';
17
* return input.name
18
* }
19
*/
20
-export function isMatching<p extends Pattern<unknown>>(
+export function isMatching<const p extends Pattern<unknown>>(
21
pattern: p
22
): (value: unknown) => value is P.infer<p>;
23
/**
0 commit comments