You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 9, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: test/returns.test-d.ts
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,7 @@ const postgrest = new PostgrestClient<Database>(REST_URL)
53
53
.returns<{username: string}[]>()
54
54
expectType<
55
55
PostgrestBuilder<
56
+
{postgrestVersion: 12},
56
57
{
57
58
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'
0 commit comments