chore: Setup typescript for the express app

This commit is contained in:
Faruk AYDIN
2021-10-03 18:55:01 +02:00
committed by Ali BARIN
parent 701fc48d6f
commit fbc2b1e00a
10 changed files with 604 additions and 149 deletions

View File

@@ -0,0 +1,7 @@
import { Request, Response } from 'express';
const indexRouter = (_request: Request, response: Response) => {
return response.json({ hello: 'world!' })
};
export default indexRouter;