Skip to content

Commit

Permalink
Add missing printRoutes ts definition on FastofyInstance
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromemacias committed Feb 19, 2018
1 parent 86519c8 commit 248fad8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fastify.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,11 @@ declare namespace fastify {
* Create a shared schema
*/
addSchema(schema: object): FastifyInstance<HttpServer, HttpRequest, HttpResponse>

/**
* Prints the representation of the internal radix tree used by the router
*/
printRoutes(): String
}
}

Expand Down

0 comments on commit 248fad8

Please sign in to comment.