import { FastifyInstance , FastifyReply , FastifyRequest } from 'fastify' ; import { ServerResponse } from 'http' ; import { Route } from '@test/fastify/Library/Fastify' ; export default class HealthCheckRoute implements Route { public options : Route [ 'options' ] = { method : 'GET' , url : '/healthcheck' , } ; async handler ( this , request , reply ) { reply . type ( 'text/html' ) ; reply . status ( 200 ) ; return 'OK' ; } }