Skip to content

Instantly share code, notes, and snippets.

@saman-ghm
Created October 20, 2019 19:50
Show Gist options
  • Save saman-ghm/31cdb905ac40b8ee8b6bc61266beed0a to your computer and use it in GitHub Desktop.
Save saman-ghm/31cdb905ac40b8ee8b6bc61266beed0a to your computer and use it in GitHub Desktop.
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