Remove helpers.utf8Encoding because it annoys the latest TypeScript compiler.

This commit is contained in:
David Anson 2021-08-05 22:01:29 -07:00
parent f87f9d0800
commit dce5dd5e71
3 changed files with 8 additions and 13 deletions

View file

@ -31,9 +31,6 @@ const emphasisMarkersRe = /[_*]/g;
// Regular expression for inline links and shortcut reference links
const linkRe = /\[(?:[^[\]]|\[[^\]]*\])*\](?:\(\S*\))?/g;
// readFile options for reading with the UTF-8 encoding
module.exports.utf8Encoding = "utf8";
// All punctuation characters (normal and full-width)
const allPunctuation = ".,;:!?。,;:!?";
module.exports.allPunctuation = allPunctuation;