Skip to content

Commit

Permalink
Merge pull request #424 from donaldpipowitch/patch-1
Browse files Browse the repository at this point in the history
Update ajv.d.ts
  • Loading branch information
Evgeny Poberezkin committed Feb 22, 2017
2 parents e17b55b + 6cc1213 commit 81dbc2c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/ajv.d.ts
Expand Up @@ -202,7 +202,7 @@ declare namespace ajv {
MultipleOfParams | PatternParams | RequiredParams |
TypeParams | UniqueItemsParams | CustomParams |
PatternGroupsParams | PatternRequiredParams |
SwitchParams | NoParams;
SwitchParams | NoParams | EnumParams;

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

interface NoParams {}

interface EnumParams {
allowedValues: Array<any>;
}
}

export = ajv;

0 comments on commit 81dbc2c

Please sign in to comment.