From 824eb340fecb7407fcf51291484a4c7bb5ff331a Mon Sep 17 00:00:00 2001 From: Victor Leach Date: Sat, 18 Aug 2018 19:03:00 +0100 Subject: [PATCH] Tweaked type definition --- package.json | 2 +- vladiator.d.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index e72c381..3a25d29 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "the-vladiator", - "version": "1.3.4", + "version": "1.3.5", "description": "Javascript validation and assertion library for checking incoming parameters.", "main": "vladiator.js", "types": "vladiator.d.ts", diff --git a/vladiator.d.ts b/vladiator.d.ts index 5309009..9110bf0 100644 --- a/vladiator.d.ts +++ b/vladiator.d.ts @@ -17,9 +17,9 @@ declare module 'the-vladiator'{ //! Nesting recursive(): this - extract(field: string): this + extract(field?: string): this - open(field: string): this + open(field?: string): this //! Value