Answers for "Property 'isAuth' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs>'"

0

Property 'isAuth' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs>'

// create file custom.d.ts and declare the following

declare namespace Express {
  export interface Request {
      user: any;
  }
  export interface Response {
      user: any;
  }
}
Posted by: Guest on August-25-2020

Code answers related to "Property 'isAuth' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs>'"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language