From 0768f72ea54d18a41ed61cd0210d87c448653d8e Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Wed, 3 Apr 2024 18:57:01 +0100 Subject: [PATCH] chore(index): inline comment re export types --- src/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.js b/src/index.js index 72f7d1a..60d4f46 100644 --- a/src/index.js +++ b/src/index.js @@ -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