From 283237d8e36ee32f466741b431e060f23b4330f8 Mon Sep 17 00:00:00 2001 From: Louy Alakkad Date: Wed, 6 Jul 2016 13:51:29 +0100 Subject: [PATCH] Fix typo in order of type params in example code Closes #14 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: {