Skip to content

Commit

Permalink
style: use jsdoc syntax for opt params over google closure syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Aug 10, 2023
1 parent bf1e481 commit b39c832
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ const { parse: secureParse } = require("secure-json-parse");
* 'application/xml' or if it explicitly includes the 'application/xml'
* media type before 'application/json'.
* @param {import("fastify").FastifyInstance} server - Fastify instance.
* @param {object=} options - Plugin config values.
* @param {boolean=} options.replaceInvalidChars - Replace invalid XML characters with the Unicode
* @param {object} [options] - Plugin config values.
* @param {boolean} [options.replaceInvalidChars] - Replace invalid XML characters with the Unicode
* replacement character, U+FFFD. Will throw error if invalid characters found when enabled.
* Disabled by default.
*/
Expand Down

0 comments on commit b39c832

Please sign in to comment.