Skip to content

Commit

Permalink
docs: type definition for serialize option, #880
Browse files Browse the repository at this point in the history
  • Loading branch information
epoberezkin committed Nov 10, 2018
1 parent f2010f4 commit c8a3277
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ajv.d.ts
Expand Up @@ -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>);
Expand Down

0 comments on commit c8a3277

Please sign in to comment.