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.
2 parents 933a833 + 3e323e9 commit 781c16aCopy full SHA for 781c16a
matcher.ts
@@ -28,11 +28,10 @@ export type Matcher<T> = {
28
* @returns An async iterator over matched `IdItem` elements.
29
*/
30
match<
31
- M extends MatchParams<T>,
32
- V extends M extends MatchParams<infer V> ? V : never,
+ V extends T,
33
>(
34
denops: Denops,
35
- params: M,
+ params: MatchParams<V>,
36
options: { signal?: AbortSignal },
37
): AsyncIterableIterator<IdItem<V>>;
38
};
0 commit comments