adhoc fix sequelize/sequelize-tests.ts

This commit is contained in:
vvakame
2016-02-23 11:04:37 +09:00
parent beebddbc03
commit 065d70e2b5

View File

@@ -1300,7 +1300,7 @@ s.define( 'ProductWithSettersAndGetters2', {
s.define( 'post', {
title : Sequelize.STRING,
authorId : { type : Sequelize.INTEGER, references : testModel, referencesKey : 'id' }
} );
} as any /* TODO please remove `as any` */);
s.define( 'post', {
title : Sequelize.STRING,
authorId : { type : Sequelize.INTEGER, references : { model : testModel, key : 'id' } }