Skip to content

Commit 2054388

Browse files
committed
deps: upgrade @vim-fall/core to v0.2.1
1 parent fcdf61b commit 2054388

File tree

2 files changed

+5
-17
lines changed

2 files changed

+5
-17
lines changed

deno.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
"@std/path": "jsr:@std/path@^1.0.8",
123123
"@std/streams": "jsr:@std/streams@^1.0.8",
124124
"@std/testing": "jsr:@std/testing@^1.0.4",
125-
"@vim-fall/core": "jsr:@vim-fall/core@^0.1.6",
125+
"@vim-fall/core": "jsr:@vim-fall/core@^0.2.1",
126126
"fzf": "npm:fzf@^0.5.2"
127127
}
128128
}

refiner.ts

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
export type * from "@vim-fall/core/refiner";
2+
13
import type { Denops } from "@denops/std";
4+
25
import type { IdItem } from "@vim-fall/core/item";
6+
import type { RefineParams, Refiner } from "@vim-fall/core/refiner";
37

48
import type { FlatType } from "./util/_typeutil.ts";
59
import type { Detail, DetailUnit } from "./item.ts";
@@ -13,22 +17,6 @@ type Refine<T extends Detail, U extends Detail> = (
1317
options: { signal?: AbortSignal },
1418
) => AsyncIterableIterator<IdItem<T & U>>;
1519

16-
export type RefineParams<T extends Detail> = {
17-
readonly items: AsyncIterable<IdItem<T>>;
18-
};
19-
20-
export type Refiner<
21-
T extends Detail = DetailUnit,
22-
U extends Detail = DetailUnit,
23-
> = {
24-
__phantom?: (_: T) => void;
25-
refine: <V extends T>(
26-
denops: Denops,
27-
params: RefineParams<V>,
28-
options: { signal?: AbortSignal },
29-
) => AsyncIterableIterator<IdItem<V & U>>;
30-
};
31-
3220
export function defineRefiner<
3321
T extends Detail = DetailUnit,
3422
U extends Detail = DetailUnit,

0 commit comments

Comments
 (0)