diff --git a/README.md b/README.md index 87f3810..bc54a93 100644 --- a/README.md +++ b/README.md @@ -22,13 +22,13 @@ interface Thing { // interface used to create/update an instance id?: number; name?: string; } -interface ThingInstance extends Sequelize.Instance { // an instance +interface ThingInstance extends Sequelize.Instance { // an instance id: number; // you should add all instance methods here doSomething(): any; } -const Thing = sequelize.define('thing', { +const Thing = sequelize.define('thing', { name: Sequelize.STRING, }, { instanceMethods: {