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

Commit 5fa6e2c2 by Sushant

docs: change invalid mention of inferNew

1 parent 032d9968
Showing with 2 additions and 2 deletions
...@@ -238,8 +238,8 @@ modules.exports = function sequelizeAdditions(Sequelize) { ...@@ -238,8 +238,8 @@ modules.exports = function sequelizeAdditions(Sequelize) {
//DataTypes.NEWTYPE.escape = false //DataTypes.NEWTYPE.escape = false
// For convenience // For convenience
// `inferNew` allows you to use the datatype without `new` // `classToInvokable` allows you to use the datatype without `new`
Sequelize.NEWTYPE = Sequelize.Utils.inferNew(DataTypes.NEWTYPE) Sequelize.NEWTYPE = Sequelize.Utils.classToInvokable(DataTypes.NEWTYPE)
} }
``` ```
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!