While working on my nestJS project, I encountered an error upon starting the project. Could this be due to an issue with the @types/express package? Or perhaps it's something that I have configured incorrectly? Any insights or tips would be greatly appreciated. Thanks.
[14:17:06] Starting compilation in watch mode...
node_modules/@types/express/index.d.ts:99:42 - error TS2344: Type 'P' does not satisfy the constraint 'Params'.
Type 'P' is not assignable to type 'ParamsArray'.
extends core.ErrorRequestHandler<P, ResBody, ReqBody, ReqQuery> { }
~
node_modules/@types/express/index.d.ts:108:124 - error TS2344: Type 'P' does not satisfy the constraint 'Params'.
Type 'P' is not assignable to type 'ParamsArray'.
interface Request<P = core.ParamsDictionary, ResBody = any, ReqBody = any, ReqQuery = core.Query> extends core.Request<P, ResBody, ReqBody, ReqQuery> { }
node_modules/@types/express/index.d.ts:109:138 - error TS2344: Type 'P' does not satisfy the constraint 'Params'.
Type 'P' is not assignable to type 'ParamsArray'.
interface RequestHandler<P = core.ParamsDictionary, ResBody = any, ReqBody = any, ReqQuery = core.Query> extends core.RequestHandler<P, ResBody, ReqBody, ReqQuery> { }
[14:17:17] Found 3 errors. Watching for file changes.