Skip to content

Commit b7344cf

Browse files
committed
refactor: revert unwanted change
1 parent decf552 commit b7344cf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/returns.test-d.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@ const postgrest = new PostgrestClient<Database>(REST_URL)
5353
.returns<{ username: string }[]>()
5454
expectType<
5555
PostgrestBuilder<
56-
{
57-
PostgrestVersion: '12'
58-
},
56+
{ PostgrestVersion: '12' },
5957
{
6058
Error: 'Type mismatch: Cannot cast single object to array type. Remove Array wrapper from return type or make sure you are not using .single() up in the calling chain'
6159
},

0 commit comments

Comments
 (0)