Skip to content

Commit

Permalink
addErrors typings update
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffijoe committed Feb 21, 2017
1 parent 672822e commit 686a1a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export interface IValidationContext {
isValid: boolean
reset (): this
validate <T>(obj: T, schema: IValidationSchema<T>): this
addErrors (errors: IValidationErrors): this
addErrors (errors: IValidationErrors | { [key: string]: string[] }): this
}

/**
Expand Down

0 comments on commit 686a1a8

Please sign in to comment.