Skip to content

Commit

Permalink
chore(index): inline comment re export types
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Apr 3, 2024
1 parent d2c24f6 commit 0768f72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ async function fastifyFlocOff(server) {
module.exports = fp(fastifyFlocOff, {
fastify: "4.x",
name: "fastify-floc-off",
});
module.exports.default = fastifyFlocOff;
module.exports.fastifyFlocOff = fastifyFlocOff;
}); // CommonJS export
module.exports.default = fastifyFlocOff; // ESM default export
module.exports.fastifyFlocOff = fastifyFlocOff; // TypeScript and named export

0 comments on commit 0768f72

Please sign in to comment.