import { Router , Request , Response , NextFunction } from 'express' ; const router = Router ( ) ; router . get ( '/animals' , ( _req , _res , _next ) => { return _res . status ( 200 ) . json ( { cat : '🐱 (=^・^=)' , dog : '🐶 ⊂ﾟＵ┬───┬~' , hamster : '🐹' } ) ; } ) ; export default router ;