Skip to content

Commit bf39e79

Browse files
committed
fix: Use default import of Keyv to avoid CJS compilation error
1 parent 8c050aa commit bf39e79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cache.providers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Provider } from '@nestjs/common';
22
import { createCache } from 'cache-manager';
3-
import { Keyv, KeyvStoreAdapter } from 'keyv';
3+
import Keyv, { type KeyvStoreAdapter } from 'keyv';
44
import { CACHE_MANAGER } from './cache.constants';
55
import { MODULE_OPTIONS_TOKEN } from './cache.module-definition';
66
import { CacheManagerOptions } from './interfaces/cache-manager.interface';

0 commit comments

Comments
 (0)