Add missing rootData parameter from ValidateFunction typescript interface (#301)

* Add missing rootData property from ValidateFunction typescript interface

* Made change @epoberezkin requested
master
Darcy Parker 2016-09-19 07:49:37 -04:00 committed by Evgeny Poberezkin
parent 1129dfad0f
commit fd07efc4cf
1 changed files with 2 additions and 1 deletions

3
lib/ajv.d.ts vendored
View File

@ -92,7 +92,8 @@ declare namespace ajv {
data: any,
dataPath?: string,
parentData?: Object | Array<any>,
parentDataProperty?: string | number
parentDataProperty?: string | number,
rootData?: Object | Array<any>
): boolean | Thenable<boolean>;
errors?: Array<ErrorObject>;
schema?: Object;