Closed matthyk closed 5 months ago
Currently the method property in RouteItem is typed as HTTPMethods but with fastify.route you can also add an array of routes. I updated the types accordingly and added test cases
RouteItem
HTTPMethods
fastify.route
Done :)
Currently the method property in
RouteItem
is typed asHTTPMethods
but withfastify.route
you can also add an array of routes. I updated the types accordingly and added test cases