Supabase RPC functions return type shows a 2D array?
I defined the following function:
I am calling it from the supabase client like this:
The return data, for some reason shows a return type of a 2D array. This is incorrect as the data is actually a 1D array?
This is what VSCODE shows as the return type:
This is causing erroneous TS errors. Is there perhaps something I'm doing wrong please help.
I am calling it from the supabase client like this:
The return data, for some reason shows a return type of a 2D array. This is incorrect as the data is actually a 1D array?
This is what VSCODE shows as the return type:
This is causing erroneous TS errors. Is there perhaps something I'm doing wrong please help.
