Skip to content

Commit

Permalink
chore(index): correct inline export comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Apr 3, 2024
1 parent 9377e03 commit 94f3925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function fixLatin1ToUtf8(str) {
return str.replace(matchRegex, (match) => replacements[match]).normalize();
}

module.exports = fixLatin1ToUtf8; // CommonJS default export
module.exports = fixLatin1ToUtf8; // CommonJS export
module.exports.default = fixLatin1ToUtf8; // ESM default export
module.exports.fixLatin1ToUtf8 = fixLatin1ToUtf8; // TypeScript and named export
module.exports.replacements = replacements;

0 comments on commit 94f3925

Please sign in to comment.