Skip to content
This repository was archived by the owner on Jan 3, 2024. It is now read-only.

Commit 8d5980f

Browse files
committed
Re-export Dispatcher and DispatcherFrom
1 parent 4658e75 commit 8d5980f

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

denops.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Dispatcher, Session } from "./deps.ts";
1+
import { Dispatcher, DispatcherFrom, Session } from "./deps.ts";
22
import { Api, Context } from "./api.ts";
33
import { getCacheOrElse } from "./cache.ts";
44
import { WorkerReader, WorkerWriter } from "./worker.ts";
@@ -83,3 +83,6 @@ export class Denops implements Api {
8383
this.#session.clearDispatcher();
8484
}
8585
}
86+
87+
// Re-export
88+
export type { Dispatcher, DispatcherFrom };

deps.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
export { Queue } from "https://deno.land/x/async@v1.0/mod.ts";
22
export { Session } from "https://deno.land/x/msgpack_rpc@v2.6/mod.ts";
3-
export type { Dispatcher } from "https://deno.land/x/msgpack_rpc@v2.6/mod.ts";
3+
export type {
4+
Dispatcher,
5+
DispatcherFrom,
6+
} from "https://deno.land/x/msgpack_rpc@v2.6/mod.ts";
47
export { copy as copyBytes } from "https://deno.land/std@0.87.0/bytes/mod.ts";

0 commit comments

Comments
 (0)