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
Copy file name to clipboardExpand all lines: test/returns.test-d.ts
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -53,9 +53,7 @@ const postgrest = new PostgrestClient<Database>(REST_URL)
53
53
.returns<{username: string}[]>()
54
54
expectType<
55
55
PostgrestBuilder<
56
-
{
57
-
PostgrestVersion: '12'
58
-
},
56
+
{PostgrestVersion: '12'},
59
57
{
60
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