Allow schema in array constructor

This commit is contained in:
Moreton Bay RC
2018-01-31 11:13:53 +10:00
parent 0a21b624ec
commit 6c364020be

View File

@@ -118,7 +118,7 @@ export interface DateSchema extends Schema<Date> {
}
export interface ArraySchemaConstructor {
(): ArraySchema<{}>;
<T>(schema?: Schema<T>): ArraySchema<T>;
new(): ArraySchema<{}>;
}