Skip to content

Commit

Permalink
test(types): fix test for default query output
Browse files Browse the repository at this point in the history
  • Loading branch information
ephys committed Jan 31, 2022
1 parent 9df5864 commit 18373d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/test/connection.ts
Expand Up @@ -11,7 +11,7 @@ sequelize.afterBulkSync((options: SyncOptions) => {
async function test() {
expectTypeOf(
await sequelize.query('SELECT * FROM `test`', { type: QueryTypes.SELECT })
).toEqualTypeOf<unknown[]>();
).toEqualTypeOf<object[]>();

expectTypeOf(
await sequelize.query('INSERT into test set test=1', { type: QueryTypes.INSERT })
Expand Down

0 comments on commit 18373d8

Please sign in to comment.