Skip to content

Commit

Permalink
fix(types): prompt messages props optional
Browse files Browse the repository at this point in the history
  • Loading branch information
songhn233 authored and AdeAttwood committed Aug 12, 2021
1 parent b65aced commit 0bd0592
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions @commitlint/types/src/prompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,12 @@ export type PromptConfig = {
};

export type PromptMessages = {
skip: string;
max: string;
min: string;
emptyWarning: string;
upperLimitWarning: string;
lowerLimitWarning: string;
[_key: string]: string;
skip?: string;
max?: string;
min?: string;
emptyWarning?: string;
upperLimitWarning?: string;
lowerLimitWarning?: string;
};

export type UserPromptConfig = DeepPartial<PromptConfig>;
Expand Down

0 comments on commit 0bd0592

Please sign in to comment.