Skip to content

Commit

Permalink
fix: make imports and inject optional
Browse files Browse the repository at this point in the history
  • Loading branch information
bassochette committed Mar 6, 2022
1 parent 56814c8 commit e82a6b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/redis/redis.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ export interface RedisConnectionOptions {
}

export interface RedisModuleAsyncOptions {
imports: any[];
inject: any[];
imports?: any[];
inject?: any[];
useFactory: (
...args: any[]
) => Promise<RedisConnectionOptions> | RedisConnectionOptions;
Expand Down

0 comments on commit e82a6b4

Please sign in to comment.