website
website copied to clipboard
Update extending-data-types.md
Correct mistakes that were causing the example not to work, and use more modern syntax
There was a lot of confusion about how to create custom data types in https://github.com/sequelize/sequelize/issues/11177, and the knowledge was never propagated to these docs.