Skip to content

Commit

Permalink
docs: type for "if" keyword error params
Browse files Browse the repository at this point in the history
  • Loading branch information
epoberezkin committed Nov 26, 2017
1 parent c232bb3 commit e9dc9cb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/ajv.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ declare namespace ajv {
MultipleOfParams | PatternParams | RequiredParams |
TypeParams | UniqueItemsParams | CustomParams |
PatternRequiredParams | PropertyNamesParams |
SwitchParams | NoParams | EnumParams;
IfParams | SwitchParams | NoParams | EnumParams;

interface RefParams {
ref: string;
Expand Down Expand Up @@ -290,6 +290,10 @@ declare namespace ajv {
propertyName: string;
}

interface IfParams {
failingKeyword: string;
}

interface SwitchParams {
caseIndex: number;
}
Expand Down

0 comments on commit e9dc9cb

Please sign in to comment.