[GH-ISSUE #405] Typescript definition for FixInfo doesn't mention lineNumber #2185

Closed
opened 2026-03-07 20:05:22 +03:00 by kerem · 1 comment
Owner

Originally created by @lolgab on GitHub (Jun 14, 2021).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/405

FixInfo can contain an optional lineNumber which is not reflected in the .d.ts definition

I found that RuleOnErrorFixInfo contains lineNumber, but LintResults contains only LintError which has FixInfo and not RuleOnErrorFixInfo inside.

Originally created by @lolgab on GitHub (Jun 14, 2021). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/405 `FixInfo` can contain an optional `lineNumber` which is not reflected in the `.d.ts` definition I found that `RuleOnErrorFixInfo` contains `lineNumber`, but `LintResults` contains only `LintError` which has `FixInfo` and not `RuleOnErrorFixInfo` inside.
kerem 2026-03-07 20:05:22 +03:00
Author
Owner

@lolgab commented on GitHub (Jun 16, 2021):

Thank you @DavidAnson !

<!-- gh-comment-id:862548126 --> @lolgab commented on GitHub (Jun 16, 2021): Thank you @DavidAnson !
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#2185
No description provided.