You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/api/middlewares/LogMiddleware.ts:47:1
ERROR: 47:1 no-consecutive-blank-lines Consecutive blank lines are forbidden
(node:13636) [DEP0128] DeprecationWarning: Invalid 'main' field in 'C:\dev\reference\express-ts\express-typescript-boilerplate\node_modules\swagger-ui-express\package.json' of './lib/index.js'. Please either fix that or report it to the module author
(Use node --trace-deprecation ... to show where the warning was created)
error: [app] Application is crashed: TSError: ⨯ Unable to compile TypeScript:
src/api/middlewares/SecurityHstsMiddleware.ts:12:12 - error TS2345: Argument of type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>' is not assignable to parameter of type 'Request'.
Property 'clearCookie' is missing in type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>' but required in type 'Request'.
src/api/middlewares/LogMiddleware.ts:47:1
ERROR: 47:1 no-consecutive-blank-lines Consecutive blank lines are forbidden
(node:13636) [DEP0128] DeprecationWarning: Invalid 'main' field in 'C:\dev\reference\express-ts\express-typescript-boilerplate\node_modules\swagger-ui-express\package.json' of './lib/index.js'. Please either fix that or report it to the module author
(Use
node --trace-deprecation ...
to show where the warning was created)error: [app] Application is crashed: TSError: ⨯ Unable to compile TypeScript:
src/api/middlewares/SecurityHstsMiddleware.ts:12:12 - error TS2345: Argument of type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>' is not assignable to parameter of type 'Request'.
Property 'clearCookie' is missing in type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>' but required in type 'Request'.
12 })(req, res, next);
~~~
node_modules/@types/express-serve-static-core/index.d.ts:437:5
437 clearCookie(name: string, options?: any): Response;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'clearCookie' is declared here.
The text was updated successfully, but these errors were encountered: