Skip to content

Commit

Permalink
fix(rules): use same parameter names in types
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed Oct 20, 2019
1 parent ca43677 commit 007aed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion @commitlint/rules/src/types.ts
Expand Up @@ -19,7 +19,7 @@ export type RuleOutcome = [boolean, string?];
* All rules should provide the most sensible rule condition and value.
*/
export type Rule<Value = never> = (
parse: Commit,
parsed: Commit,
when?: RuleCondition,
value?: Value
) => RuleOutcome;

0 comments on commit 007aed2

Please sign in to comment.