import type { Request as ExpressRequest , Response as ExpressResponse } from "express" ; export const get = async ( req , res ) : Promise < void > => { res . end ( "you made a get request" ) ; } ; export const post = async ( req , res ) : Promise < void > => { res . end ( "you made a post request" ) ; } ;