Answers for "Property 'user' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>'."

0

Property 'user' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>'.

//na raiz do seu projeto crie uma pasta chamada custom_typings, 
//dentro dela crie uma pasta chamada express, dentro da pasta 
//express crie o index.d.ts

"typeRoots": [
  "./src/@types",
  "./custom_typings",
  "./@types",
  "./node_modules/@types"
]
Posted by: Guest on June-17-2021

Code answers related to "Property 'user' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>'."

Code answers related to "Javascript"

Browse Popular Code Answers by Language