不要怂,就是干,撸起袖子干!

Commit 23f1316d by Felix Becker Committed by Jan Aagaard Meier

Export data types under DataTypes namespace (#6438)

1 parent e68096f3
Showing with 1 additions and 0 deletions
......@@ -1225,6 +1225,7 @@ Sequelize.prototype.Validator = Sequelize.Validator = Validator;
Sequelize.prototype.Model = Sequelize.Model = Model;
Sequelize.DataTypes = DataTypes;
for (const dataType in DataTypes) {
Sequelize[dataType] = DataTypes[dataType];
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!