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 752e7141c8
commit b10147f16b
3 changed files with 8 additions and 13 deletions

View file

@ -35,9 +35,6 @@ module.exports.linkRe = linkRe;
// Regular expression for link reference definition lines
module.exports.linkReferenceRe = /^ {0,3}\[[^\]]+]:\s.*$/;
// 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;