Skip to content

Commit

Permalink
Fix type declarations for custom message arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
stof committed Sep 20, 2022
1 parent de5a7e1 commit 1ec2d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/stylelint/index.d.ts
Expand Up @@ -353,7 +353,7 @@ declare module 'stylelint' {
ruleName: string;
result: PostcssResult;
message: RuleMessage;
messageArgs?: Parameters<RuleMessage> | undefined;
messageArgs?: Parameters<RuleMessageFunc> | undefined;
node: PostCSS.Node;
/**
* The inclusive start index of the problem, relative to the node's
Expand Down

0 comments on commit 1ec2d8e

Please sign in to comment.