From b522e153529738d7a469c827aab3792daba71fec Mon Sep 17 00:00:00 2001 From: Christopher Cortes Date: Fri, 30 Sep 2016 17:49:28 +0200 Subject: [PATCH] Remove undefined In TS by default null and undefined are subtypes of all other types --- valdr/valdr.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/valdr/valdr.d.ts b/valdr/valdr.d.ts index 2762eabc1e..3de33267cb 100644 --- a/valdr/valdr.d.ts +++ b/valdr/valdr.d.ts @@ -48,8 +48,8 @@ declare namespace valdr { interface ValdrValidationResult { valid: boolean; - violations: ValdrViolation[]|undefined; - validationResults: ValdrViolation[]|undefined; + violations: ValdrViolation[]; + validationResults: ValdrViolation[]; } interface Valdr {