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

Commit

Permalink
Re-export Dispatcher and DispatcherFrom
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdalisue committed Feb 20, 2021
1 parent 4658e75 commit 8d5980f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion denops.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Dispatcher, Session } from "./deps.ts";
import { Dispatcher, DispatcherFrom, Session } from "./deps.ts";
import { Api, Context } from "./api.ts";
import { getCacheOrElse } from "./cache.ts";
import { WorkerReader, WorkerWriter } from "./worker.ts";
Expand Down Expand Up @@ -83,3 +83,6 @@ export class Denops implements Api {
this.#session.clearDispatcher();
}
}

// Re-export
export type { Dispatcher, DispatcherFrom };
5 changes: 4 additions & 1 deletion deps.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
export { Queue } from "https://deno.land/x/[email protected]/mod.ts";
export { Session } from "https://deno.land/x/[email protected]/mod.ts";
export type { Dispatcher } from "https://deno.land/x/[email protected]/mod.ts";
export type {
Dispatcher,
DispatcherFrom,
} from "https://deno.land/x/[email protected]/mod.ts";
export { copy as copyBytes } from "https://deno.land/[email protected]/bytes/mod.ts";

0 comments on commit 8d5980f

Please sign in to comment.