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;