Skip to content

Commit

Permalink
chore(docs): Fix fastify doc line
Browse files Browse the repository at this point in the history
  • Loading branch information
Snazzah committed Dec 17, 2020
1 parent eabaa02 commit 1b6bfdf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions lib/servers/fastify.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ declare class FastifyServer extends Server {
constructor(app?: Fastify.FastifyInstance | FastifyOptions, opts?: ServerOptions);
/**
* Adds middleware to the Fastify server.
* <warn>This requires you to have 'middie' registered to the server before using.</warn>
* to the server before using.
* <warn>This requires you to have the 'middie' module registered to the server before using.</warn>
* @param middleware The middleware to add.
* @see https://www.fastify.io/docs/latest/Middleware/
*/
Expand Down
3 changes: 1 addition & 2 deletions lib/servers/fastify.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ class FastifyServer extends server_1.default {
}
/**
* Adds middleware to the Fastify server.
* <warn>This requires you to have 'middie' registered to the server before using.</warn>
* to the server before using.
* <warn>This requires you to have the 'middie' module registered to the server before using.</warn>
* @param middleware The middleware to add.
* @see https://www.fastify.io/docs/latest/Middleware/
*/
Expand Down
3 changes: 1 addition & 2 deletions src/servers/fastify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ class FastifyServer extends Server {

/**
* Adds middleware to the Fastify server.
* <warn>This requires you to have 'middie' registered to the server before using.</warn>
* to the server before using.
* <warn>This requires you to have the 'middie' module registered to the server before using.</warn>
* @param middleware The middleware to add.
* @see https://www.fastify.io/docs/latest/Middleware/
*/
Expand Down

0 comments on commit 1b6bfdf

Please sign in to comment.