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 9338478 commit 7b33ad1
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 @@ -22,6 +22,6 @@ async function fastifyDisablecache(server) {
module.exports = fp(fastifyDisablecache, {
fastify: "4.x",
name: "fastify-disablecache",
});
module.exports.default = fastifyDisablecache;
module.exports.fastifyDisablecache = fastifyDisablecache;
}); // CommonJS export
module.exports.default = fastifyDisablecache; // ESM default export
module.exports.fastifyDisablecache = fastifyDisablecache; // TypeScript and named export

0 comments on commit 7b33ad1

Please sign in to comment.