📌  相关文章
📜  “会话和部分”类型上不存在属性“用户 ID”<SessionData> &#39;.ts(2339) - TypeScript 代码示例

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

代码示例2
// create file custom.d.ts and declare the following

declare namespace Express {
  export interface Request {
      user: any;
  }
  export interface Response {
      user: any;
  }
}