Skip to content

Commit a82582d

Browse files
authored
Merge pull request #1481 from supabase/chore/upgrade-postgrest-js-deps
fix(types): restore explicit return type
2 parents 1f65b59 + 1cb2e82 commit a82582d

File tree

4 files changed

+932
-742
lines changed

4 files changed

+932
-742
lines changed

src/index.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,12 @@ export const createClient = <
4040
supabaseUrl: string,
4141
supabaseKey: string,
4242
options?: SupabaseClientOptions<SchemaName>
43-
) => {
43+
): SupabaseClient<
44+
Database,
45+
ClientOptions,
46+
SchemaName,
47+
Schema extends GenericSchema ? Schema : any
48+
> => {
4449
return new SupabaseClient<
4550
Database,
4651
ClientOptions,

test/deno/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)