From 7581efb4ebce6d0d89569cfb2cfba20dfbadf7b1 Mon Sep 17 00:00:00 2001 From: Nimish Telang Date: Wed, 13 Jan 2016 18:00:50 +0000 Subject: [PATCH] Update docs --- convict/convict.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/convict/convict.d.ts b/convict/convict.d.ts index 87788e0963..14ecae8f8d 100644 --- a/convict/convict.d.ts +++ b/convict/convict.d.ts @@ -24,6 +24,8 @@ declare module "convict" { * - an array of enumerated values, e.g. ["production", "development", "testing"] * - built-in JavaScript type, i.e. Object, Array, String, Number, Boolean * - or if omitted, the Object.prototype.toString.call of the default value + * + * The docs also state that any function that validates is ok too */ format?: string | Array | Function; env?: string;