Skip to content

Commit dc9067b

Browse files
committed
fix(types): restore explicit return type
1 parent 4316f7f commit dc9067b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
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,

0 commit comments

Comments
 (0)