mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-01 13:38:49 +01:00
Add missing lineNumber property to FixInfo type (fixes #405).
This commit is contained in:
parent
cebde8f9f6
commit
02240fac98
3 changed files with 13 additions and 7 deletions
4
lib/markdownlint.d.ts
vendored
4
lib/markdownlint.d.ts
vendored
|
|
@ -316,6 +316,10 @@ type LintError = {
|
|||
* Fix information.
|
||||
*/
|
||||
type FixInfo = {
|
||||
/**
|
||||
* Line number (1-based).
|
||||
*/
|
||||
lineNumber?: number;
|
||||
/**
|
||||
* Column of the fix (1-based).
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1196,6 +1196,7 @@ module.exports = markdownlint;
|
|||
* Fix information.
|
||||
*
|
||||
* @typedef {Object} FixInfo
|
||||
* @property {number} [lineNumber] Line number (1-based).
|
||||
* @property {number} [editColumn] Column of the fix (1-based).
|
||||
* @property {number} [deleteCount] Count of characters to delete.
|
||||
* @property {string} [insertText] Text to insert (after deleting).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue