Skip to content

Commit

Permalink
[ADD] jsdoc comment to index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
device committed May 17, 2021
1 parent 1fe3c5d commit a7c52b4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
const fp = require('fastify-plugin')
const msgpack = require('@msgpack/msgpack')

/**
*
* @param {FastifyInstance} fastify
* @param {*} options
* @param {*} next
*/
function msgpackSerializerPlugin(fastify, options, next) {
fastify.register(require('fastify-accepts-serializer'), {
serializers: [
Expand Down

0 comments on commit a7c52b4

Please sign in to comment.