mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Comment for VirtualDataType
This commit is contained in:
1 parent
7109dbc7b6
commit
d1777f15c4
1 file changed
+8
-1
Vendored
+8
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user