add other ctors

This commit is contained in:
tassadarliu
2018-12-05 10:12:40 +08:00
parent 1184370cda
commit 9be998dd15
+5 -1
View File
@@ -49,7 +49,11 @@ declare namespace convict {
| 'duration'
| 'timestamp'
| 'nat'
| String;
| String
| Object
| Number
| RegExp
| Boolean;
interface SchemaObj<T = any> {
default: T;