mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Correct typo-ed references to RuleOnErrorInfo.details to detail.
This commit is contained in:
parent
a852407c88
commit
a5bfaa8a7d
4 changed files with 5 additions and 5 deletions
4
lib/markdownlint.d.ts
vendored
4
lib/markdownlint.d.ts
vendored
|
|
@ -206,9 +206,9 @@ type RuleOnErrorInfo = {
|
|||
*/
|
||||
lineNumber: number;
|
||||
/**
|
||||
* Details about the error.
|
||||
* Detail about the error.
|
||||
*/
|
||||
details?: string;
|
||||
detail?: string;
|
||||
/**
|
||||
* Context for the error.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue