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
I'm using nestjs for the backend and it gives me this error when trying to start the application. Anyone else having the same problem?
node_modules/passport-headerapikey/lib/Strategy.d.ts:22:5 - error TS2416: Property 'authenticate' in type 'Strategy' is not assignable to the same property in base type 'Strategy'
Complete error:
Property 'authenticate' in type 'Strategy' is not assignable to the same property in base type 'Strategy'.
Type '(req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, options?: Object) => void' is not assignable to type '(req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, options?: any) => void'.
Types of parameters 'req' and 'req' are incompatible.
Property 'param' is missing in type 'import("/Users/vicentebrida/dev/tnb/tnb_backend/node_modules/@types/passport/node_modules/@types/express/index").Request<import("/Users/vicentebrida/dev/tnb/tnb_backend/node_modules/@types/passport/node_modules/@types/express-serve-static-core/index").ParamsDictionary, any, any, qs.ParsedQs, Record<...>>' but required in type 'import("/Users/vicentebrida/dev/tnb/tnb_backend/node_modules/@types/express/index").Request<import("/Users/vicentebrida/dev/tnb/tnb_backend/node_modules/@types/express-serve-static-core/index").ParamsDictionary, any, any, qs.ParsedQs, Record<string, any>>'
The text was updated successfully, but these errors were encountered:
Hello,
I'm using nestjs for the backend and it gives me this error when trying to start the application. Anyone else having the same problem?
node_modules/passport-headerapikey/lib/Strategy.d.ts:22:5 - error TS2416: Property 'authenticate' in type 'Strategy' is not assignable to the same property in base type 'Strategy'
Complete error:
Property 'authenticate' in type 'Strategy' is not assignable to the same property in base type 'Strategy'.
Type '(req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, options?: Object) => void' is not assignable to type '(req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, options?: any) => void'.
Types of parameters 'req' and 'req' are incompatible.
Property 'param' is missing in type 'import("/Users/vicentebrida/dev/tnb/tnb_backend/node_modules/@types/passport/node_modules/@types/express/index").Request<import("/Users/vicentebrida/dev/tnb/tnb_backend/node_modules/@types/passport/node_modules/@types/express-serve-static-core/index").ParamsDictionary, any, any, qs.ParsedQs, Record<...>>' but required in type 'import("/Users/vicentebrida/dev/tnb/tnb_backend/node_modules/@types/express/index").Request<import("/Users/vicentebrida/dev/tnb/tnb_backend/node_modules/@types/express-serve-static-core/index").ParamsDictionary, any, any, qs.ParsedQs, Record<string, any>>'
The text was updated successfully, but these errors were encountered: