-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
I got the next error during the compilation of my project
Try `npm i --save-dev @types/http-errors` if it exists or add a new declaration (.d.ts) file containing `declare module 'http-errors';`
2 import { HttpError } from 'http-errors';
~~~~~~~~~~~~~
Found 1 error in node_modules/csrf-csrf/dist/index.d.ts:2
Installing the suggested types fixed the issue, but it would be nice to have all dependencies out of the box.
I'm on Typescript 5.8 and Node 22
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels