diff --git a/4/lib/model.d.ts b/4/lib/model.d.ts index fa039c8..1e83497 100644 --- a/4/lib/model.d.ts +++ b/4/lib/model.d.ts @@ -2518,9 +2518,9 @@ export interface Instance { * Emits null if and only if validation successful; otherwise an Error instance containing * { field name : [error msgs] } entries. * - * @param options.skip An array of strings. All properties that are in this array will not be validated + * @param options Options that are passed to the validator */ - validate(options?: { skip?: string[] }): Promise; + validate(options?: { skip?: string[], fields?: string[] }): Promise; /** * This is the same as calling `set` and then calling `save`.