docs: type definition for serialize option, #880

master
Evgeny Poberezkin 2018-11-10 21:28:01 +00:00
parent f2010f40f2
commit c8a32771e4
1 changed files with 1 additions and 0 deletions

1
lib/ajv.d.ts vendored
View File

@ -165,6 +165,7 @@ declare namespace ajv {
cache?: object;
logger?: CustomLogger | false;
nullable?: boolean;
serialize?: ((schema: object | boolean) => any) | false;
}
type FormatValidator = string | RegExp | ((data: string) => boolean | PromiseLike<any>);