@xnestjs/ioredis 1.3.1 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/redis.module.js +1 -1
- package/esm/redis.module.js +1 -1
- package/package.json +1 -1
- package/types/redis.module.d.ts +1 -1
package/cjs/redis.module.js
CHANGED
|
@@ -9,7 +9,7 @@ let RedisModule = RedisModule_1 = class RedisModule {
|
|
|
9
9
|
static forRoot(options) {
|
|
10
10
|
return {
|
|
11
11
|
module: RedisModule_1,
|
|
12
|
-
imports: [redis_core_module_js_1.RedisCoreModule.forRoot(options)],
|
|
12
|
+
imports: [redis_core_module_js_1.RedisCoreModule.forRoot(options || {})],
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
static forRootAsync(options) {
|
package/esm/redis.module.js
CHANGED
package/package.json
CHANGED
package/types/redis.module.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type DynamicModule } from '@nestjs/common';
|
|
2
2
|
import type { RedisAsyncModuleOptions, RedisModuleOptions } from './types.js';
|
|
3
3
|
export declare class RedisModule {
|
|
4
|
-
static forRoot(options
|
|
4
|
+
static forRoot(options?: RedisModuleOptions): DynamicModule;
|
|
5
5
|
static forRootAsync(options: RedisAsyncModuleOptions): DynamicModule;
|
|
6
6
|
}
|