We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf81db0 commit 2352eb1Copy full SHA for 2352eb1
test/select-query-parser/default-inference-d.ts
@@ -5,6 +5,11 @@ import { TypeEqual } from 'ts-expect'
5
const REST_URL = 'http://localhost:3000'
6
7
// Check for PostgrestClient without types provided to the client
8
+{
9
+ const postgrest = new PostgrestClient(REST_URL)
10
+ const { data } = await postgrest.from('user_profile').select()
11
+ expectType<TypeEqual<typeof data, any[] | null>>(true)
12
+}
13
// basic embeding
14
{
15
const postgrest = new PostgrestClient(REST_URL)
0 commit comments