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

Commit 5047bda1 by Felix Wehnert Committed by Sushant

docs: fix typo (#11444)

1 parent d5e4a10f
Showing with 4 additions and 4 deletions
...@@ -184,13 +184,13 @@ sequelizeAdditions(Sequelize) ...@@ -184,13 +184,13 @@ sequelizeAdditions(Sequelize)
// In this exmaple a Sequelize instance is created and exported // In this exmaple a Sequelize instance is created and exported
const sequelize = new Sequelize(sequelizeConfig) const sequelize = new Sequelize(sequelizeConfig)
modules.exports = sequelize module.exports = sequelize
``` ```
```js ```js
// myproject/lib/sequelize-additions.js // myproject/lib/sequelize-additions.js
modules.exports = function sequelizeAdditions(Sequelize) { module.exports = function sequelizeAdditions(Sequelize) {
DataTypes = Sequelize.DataTypes DataTypes = Sequelize.DataTypes
...@@ -254,7 +254,7 @@ Let's say the name of the new datatype is `pg_new_type` in the postgres database ...@@ -254,7 +254,7 @@ Let's say the name of the new datatype is `pg_new_type` in the postgres database
```js ```js
// myproject/lib/sequelize-additions.js // myproject/lib/sequelize-additions.js
modules.exports = function sequelizeAdditions(Sequelize) { module.exports = function sequelizeAdditions(Sequelize) {
DataTypes = Sequelize.DataTypes DataTypes = Sequelize.DataTypes
...@@ -300,7 +300,7 @@ In this example the name of the postgres range type is `newtype_range` and the n ...@@ -300,7 +300,7 @@ In this example the name of the postgres range type is `newtype_range` and the n
```js ```js
// myproject/lib/sequelize-additions.js // myproject/lib/sequelize-additions.js
modules.exports = function sequelizeAdditions(Sequelize) { module.exports = function sequelizeAdditions(Sequelize) {
DataTypes = Sequelize.DataTypes DataTypes = Sequelize.DataTypes
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!