-
Notifications
You must be signed in to change notification settings - Fork 192
Description
NOTE: This is now fixed as we are deploying Keyv as a peer dependency. Please upgrade to the latest version of Keyvand supporting packages. An example would be using @keyv/redis:
npm update keyv @keyv/redisFor a fresh installation:
npm install --save keyv @keyv/redis[deps 3/3] RUN yarn build:
0.399 yarn run v1.22.22
0.434 $ tsc
8.090 src/entityRepository.ts(62,7): error TS2322: Type 'Keyv' is not assignable to type 'KeyvStoreAdapter | Keyv'.
8.090 Type 'import("/usr/app/node_modules/keyv/dist/index").Keyv' is not assignable to type 'import("/usr/app/node_modules/@keyv/redis/node_modules/keyv/dist/index").Keyv'.
8.090 Types have separate declarations of a private property '_ttl'.
8.090 src/program/index.ts(152,7): error TS2322: Type 'Keyv' is not assignable to type 'KeyvStoreAdapter | Keyv'.
8.090 Type 'import("/usr/app/node_modules/keyv/dist/index").Keyv' is not assignable to type 'import("/usr/app/node_modules/@keyv/redis/node_modules/keyv/dist/index").Keyv'.
8.090 Types have separate declarations of a private property '_ttl'.