Skip to content

Commit

Permalink
feat(redis): export redis
Browse files Browse the repository at this point in the history
  • Loading branch information
jiawei397 committed Mar 11, 2022
1 parent 1dff2d8 commit 19f6b2e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modules/redis/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ export {
yellow,
} from "https://deno.land/[email protected]/fmt/colors.ts";

export { connect } from "https://deno.land/x/[email protected]/mod.ts";
export {
connect,
create,
createLazyClient,
} from "https://deno.land/x/[email protected]/mod.ts";
export type {
Redis,
RedisConnectOptions,
Expand Down
2 changes: 2 additions & 0 deletions modules/redis/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ export * from "./src/redis.module.ts";
export * from "./src/redis.constant.ts";
export * from "./src/utils.ts";
export * from "./src/redis.store.ts";
export { connect, create, createLazyClient } from "./deps.ts";
export type { Redis, RedisConnectOptions } from "./deps.ts";

0 comments on commit 19f6b2e

Please sign in to comment.