📜  req.user 打字稿代码示例

📅  最后修改于: 2022-03-11 14:48:16.648000             🧑  作者: Mango

代码示例1
// add this in your types.d.ts
declare global {
  namespace Express {
    interface Request {
      user: any
    }
  }
}