feat: add authentication routes, update environment variables, and enhance error handling
This commit is contained in:
11
Backend/types/express.d.ts
vendored
Normal file
11
Backend/types/express.d.ts
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { JwtPayload } from '../utils/jwt';
|
||||
|
||||
declare global {
|
||||
namespace Express {
|
||||
interface Request {
|
||||
user?: JwtPayload;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
||||
Reference in New Issue
Block a user