Correct typo-ed references to RuleOnErrorInfo.details to detail.

This commit is contained in:
David Anson 2021-09-25 16:23:37 -07:00
parent a852407c88
commit a5bfaa8a7d
4 changed files with 5 additions and 5 deletions

View file

@ -206,9 +206,9 @@ type RuleOnErrorInfo = {
*/
lineNumber: number;
/**
* Details about the error.
* Detail about the error.
*/
details?: string;
detail?: string;
/**
* Context for the error.
*/

View file

@ -1172,7 +1172,7 @@ module.exports = markdownlint;
*
* @typedef {Object} RuleOnErrorInfo
* @property {number} lineNumber Line number (1-based).
* @property {string} [details] Details about the error.
* @property {string} [detail] Detail about the error.
* @property {string} [context] Context for the error.
* @property {number[]} [range] Column number (1-based) and length.
* @property {RuleOnErrorFixInfo} [fixInfo] Fix information.