From 02fa9b0f13ad29e7447ac13031d5db63a8a99f04 Mon Sep 17 00:00:00 2001 From: Olegs Jeremejevs Date: Mon, 20 Aug 2018 03:24:58 +0300 Subject: [PATCH] Update typings.d.ts (#22) * Update typings.d.ts --- typings.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typings.d.ts b/typings.d.ts index 1460807b..9f1de2ea 100644 --- a/typings.d.ts +++ b/typings.d.ts @@ -22,8 +22,8 @@ declare namespace betterAjvErrors { ( schema: any, data: any, - errors: ErrorObject[], - options: betterAjvErrors.IInputOptions + errors?: ErrorObject[] | null, + options?: betterAjvErrors.IInputOptions ): betterAjvErrors.IOutputError[] | void; } }