Skip to content

Commit

Permalink
Make Problem.fix() internal (#7785)
Browse files Browse the repository at this point in the history
We cannot publish this feature because we're still discussing the signature etc.
  • Loading branch information
ybiquitous committed Jun 21, 2024
1 parent e675ac7 commit e95d114
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions types/stylelint/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,10 @@ declare namespace stylelint {
* Optional severity override for the problem.
*/
severity?: RuleSeverity;
/**
* @internal
* WARNING: Don't use this feature now. It may change in the future.
*/
fix?: () => void | never | Range;
};

Expand Down

0 comments on commit e95d114

Please sign in to comment.