Introduce type declaration file for project after updating typescript dependency to 3.7.2.

This commit is contained in:
David Anson 2019-11-10 19:26:55 -08:00
parent 37307d0764
commit 0a9ac73524
9 changed files with 703 additions and 18 deletions

View file

@ -247,6 +247,7 @@ module.exports.resultFormattingV0 = function resultFormattingV0(test) {
"./test/first_heading_bad_atx.md: 1: MD002" +
" First heading should be a top level heading";
test.equal(actualMessage, expectedMessage, "Incorrect message (name).");
// @ts-ignore
actualMessage = actualResult.toString(true);
expectedMessage =
"./test/atx_heading_spacing.md: 3: first-heading-h1" +
@ -2872,6 +2873,7 @@ module.exports.customRulesV0 = function customRulesV0(test) {
"./test/custom-rules.md: 7: letters-E-X" +
" Rule that reports an error for lines with the letters 'EX'";
test.equal(actualMessage, expectedMessage, "Incorrect message (name).");
// @ts-ignore
actualMessage = actualResult.toString(true);
expectedMessage =
"./test/custom-rules.md: 12: any-blockquote" +