mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Introduce type declaration file for project after updating typescript dependency to 3.7.2.
This commit is contained in:
parent
37307d0764
commit
0a9ac73524
9 changed files with 703 additions and 18 deletions
|
|
@ -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" +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue