fix(ts): cast SupabaseClient through unknown in Proxy get trap (TS2352)
This commit is contained in:
parent
ebbac2dc58
commit
b9f9c970b7
1 changed files with 1 additions and 1 deletions
|
|
@ -15,6 +15,6 @@ function getClient(): SupabaseClient {
|
|||
|
||||
export const supabaseAdmin = new Proxy({} as SupabaseClient, {
|
||||
get(_target, prop) {
|
||||
return (getClient() as Record<string | symbol, unknown>)[prop];
|
||||
return (getClient() as unknown as Record<string | symbol, unknown>)[prop];
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue