Skip to content

Commit c3dcfd7

Browse files
Merge pull request #606 from crappylime/fix/keyv-import
fix: Use default import of Keyv to avoid CJS compilation error
2 parents 54395fd + bf39e79 commit c3dcfd7

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)