Skip to content

Commit

Permalink
chore: remove create static function
Browse files Browse the repository at this point in the history
  • Loading branch information
taoyuan committed Sep 30, 2020
1 parent f8080dd commit ba8b794
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/redis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,6 @@ export default class Redis implements Adapter {
protected type?: string;
protected isHash: boolean;

static create(options: RedisOptions = {}) {
return new Redis(options);
}

constructor(options: RedisOptions = {}) {
this.client = resolveRedisClient(options);
this.packer = options.packer ?? JSON_PACKER;
Expand Down

0 comments on commit ba8b794

Please sign in to comment.