@@ -47,7 +47,7 @@ function testInferResultInsertQuery(db: Kysely<Database>) {
4747 } )
4848 const compiledQuery0 = query0 . compile ( )
4949
50- type Expected0 = InsertResult
50+ type Expected0 = InsertResult [ ]
5151 expectType < Equals < Expected0 , InferResult < typeof query0 > > > ( true )
5252 expectType < Equals < Expected0 , InferResult < typeof compiledQuery0 > > > ( true )
5353
@@ -74,7 +74,7 @@ function testInferResultUpdateQuery(db: Kysely<Database>) {
7474 . where ( 'pet.id' , '=' , '1' )
7575 const compiledQuery0 = query0 . compile ( )
7676
77- type Expected0 = UpdateResult
77+ type Expected0 = UpdateResult [ ]
7878 expectType < Equals < Expected0 , InferResult < typeof query0 > > > ( true )
7979 expectType < Equals < Expected0 , InferResult < typeof compiledQuery0 > > > ( true )
8080
@@ -111,7 +111,7 @@ function testInferResultDeleteQuery(db: Kysely<Database>) {
111111 const query0 = db . deleteFrom ( 'pet' ) . where ( 'id' , '=' , '1' )
112112 const compiledQuery0 = query0 . compile ( )
113113
114- type Expected0 = DeleteResult
114+ type Expected0 = DeleteResult [ ]
115115 expectType < Equals < Expected0 , InferResult < typeof query0 > > > ( true )
116116 expectType < Equals < Expected0 , InferResult < typeof compiledQuery0 > > > ( true )
117117
@@ -138,7 +138,7 @@ function testInferResultMergeQuery(db: Kysely<Database>) {
138138 . thenDelete ( )
139139 const compiledQuery0 = query0 . compile ( )
140140
141- type Expected0 = MergeResult
141+ type Expected0 = MergeResult [ ]
142142 expectType < Equals < Expected0 , InferResult < typeof query0 > > > ( true )
143143 expectType < Equals < Expected0 , InferResult < typeof compiledQuery0 > > > ( true )
144144}
0 commit comments