File tree Expand file tree Collapse file tree 2 files changed +5
-17
lines changed Expand file tree Collapse file tree 2 files changed +5
-17
lines changed Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff line change 1+ export type * from "@vim-fall/core/refiner" ;
2+
13import type { Denops } from "@denops/std" ;
4+
25import type { IdItem } from "@vim-fall/core/item" ;
6+ import type { RefineParams , Refiner } from "@vim-fall/core/refiner" ;
37
48import type { FlatType } from "./util/_typeutil.ts" ;
59import 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-
3220export function defineRefiner <
3321 T extends Detail = DetailUnit ,
3422 U extends Detail = DetailUnit ,
You can’t perform that action at this time.
0 commit comments