typescript error after new release (4.5.1)
See original GitHub issue4.5.1 causes the following errors
../../node_modules/keyv/src/index.d.ts(92,3): error TS1070: 'async' modifier cannot appear on a type member.
../../node_modules/keyv/src/index.d.ts(93,3): error TS1070: 'async' modifier cannot appear on a type member.
../../node_modules/keyv/src/index.d.ts(94,3): error TS1070: 'async' modifier cannot appear on a type member.
../../node_modules/keyv/src/index.d.ts(95,3): error TS1070: 'async' modifier cannot appear on a type member.
Typescript version is 4.8.4 Node version is 16.0.0
Issue Analytics
- State:
- Created 10 months ago
- Reactions:18
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Documentation - TypeScript 4.5
TypeScript 4.5 introduces a new utility type called the Awaited type. This type is meant to model operations like await in async functions,...
Read more >[Bug]: typescript patch fails to apply with typescript@4.5 #3722
This is replicable on first install only — on subsequent uninstall/reinstalls of typescript@^4.5.1-rc , the install appears to succeed but ...
Read more >Announcing TypeScript 4.5 RC - Microsoft Developer Blogs
Today we're excited to announce our Release Candidate (RC) of TypeScript 4.5! Between now and the stable release of TypeScript 4.5, ...
Read more >What's new in TypeScript 4.5 - LogRocket Blog
TypeScript 4.5 includes enhanced Awaited type, supported lib from node_modules, and the realpathSync.native function.
Read more >typescript error when compiling node module - Stack Overflow
I downloaded Typescript, Express, Sequelize, Postgres Example and run npm install and npm start . On npm start it is producing some errors....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Keyv version 4.5.2 has been released with a fix (thanks @ODudek)
Thanks @jaredwray.
For us it’s coming through as a sub-dependency:
setting peer dependency to 4.5.0 in package.json resolved this: