This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ErrorResponse from '../utils/error.util'; | |
import { Request, Response, NextFunction } from 'express' | |
import User from '../models/User.model' | |
import { IRedisConnOptions ,asyncHandler, protect as AuthCheck, authorize as Authorize } from '@btffamily/gamr-common'; | |
declare global { | |
namespace Express{ | |
interface Request{ | |
user?: any; |