mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-26 06:05:54 +08:00
DataTypeDate accepts length parameter option
This commit is contained in:
@@ -486,6 +486,7 @@ Sequelize.CHAR( 12 ).BINARY;
|
||||
Sequelize.CHAR.BINARY;
|
||||
Sequelize.BOOLEAN;
|
||||
Sequelize.DATE;
|
||||
Sequelize.DATE(6);
|
||||
Sequelize.UUID;
|
||||
Sequelize.UUIDV1;
|
||||
Sequelize.UUIDV4;
|
||||
|
||||
10
sequelize/sequelize.d.ts
vendored
10
sequelize/sequelize.d.ts
vendored
@@ -1736,7 +1736,15 @@ declare module "sequelize" {
|
||||
|
||||
interface DataTypeTime extends DataTypeAbstract { }
|
||||
|
||||
interface DataTypeDate extends DataTypeAbstract { }
|
||||
interface DataTypeDate extends DataTypeAbstract {
|
||||
|
||||
/**
|
||||
* Length of decimal places of time
|
||||
*/
|
||||
( options? : { length?: number } ) : DataTypeDate;
|
||||
( length? : number) : DataTypeDate;
|
||||
|
||||
}
|
||||
|
||||
interface DataTypeDateOnly extends DataTypeAbstract { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user