Answers for "does not exist on type 'request<paramsdictionary, any, any, parsedqs, record<string, any>>'.ts(2339)"

1

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 "does not exist on type 'request<paramsdictionary, any, any, parsedqs, record<string, any>>'.ts(2339)"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language