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 2e5f26c commit 609dc51Copy full SHA for 609dc51
test/client.test.ts
@@ -81,6 +81,8 @@ describe('Dynamic schema', () => {
81
82
describe('Postgrest 13 client', () => {
83
test('should be able to declare specific postgrestVersion ', async () => {
84
+ // Note: The template argument properties (postgrestVersion) will not be autocompleted
85
+ // due to a Typescript bug tracked here: https://github.com/microsoft/TypeScript/issues/56299
86
createClient<Database, { postgrestVersion: 13 }>('HTTP://localhost:3000', KEY)
87
createClient<Database, { postgrestVersion: 12 }>('HTTP://localhost:3000', KEY)
88
// @ts-expect-error should raise error if provinding invalid version
0 commit comments