Created
October 20, 2019 19:50
-
-
Save saman-ghm/31cdb905ac40b8ee8b6bc61266beed0a to your computer and use it in GitHub Desktop.
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 { Request, Response } from "express"; | |
class UserController { | |
static check = async(req:Request,res:Response) => { | |
res.send("You're authorized!"); | |
} | |
} | |
export default UserController; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment