When using const {data, error} = await supabase .from('table') .select() .geojson(); it returns data with type Record<string, unknown> | null. I expect it to return a GeoJson object with data of the correct type.
To Reproduce
Run the query const {data, error} = await supabase .from('table') .select() .geojson();
Expected behavior
I expect it to return a GeoJson object with data of the correct type.
Bug report
Describe the bug
When using
const {data, error} = await supabase .from('table') .select() .geojson();
it returnsdata
with typeRecord<string, unknown> | null
. I expect it to return a GeoJson object with data of the correct type.To Reproduce
Run the query
const {data, error} = await supabase .from('table') .select() .geojson();
Expected behavior
I expect it to return a GeoJson object with data of the correct type.
Screenshots
System information
Additional context