Comment for VirtualDataType

This commit is contained in:
Theo
2016-02-03 11:45:16 +00:00
parent 7109dbc7b6
commit d1777f15c4
+8 -1
View File
@@ -1777,8 +1777,15 @@ declare module "sequelize" {
interface DataTypeUUIDv1 extends DataTypeAbstract { }
interface DataTypeUUIDv4 extends DataTypeAbstract { }
interface DataTypeVirtual extends DataTypeAbstract {
/**
* Virtual field
*
* Accepts subtype any of the DataTypes
* Array of required attributes that are available on the model
*/
new( subtype : DataTypeAbstract, requireAttributes? : Array<string> ) : DataTypeVirtual;
}