How to fetch with 2.0.0-rc.10 and Typescript
Typescript is barking at me when trying to fetch data with 2.0.0-rc.10 as follows:
I get a "No overload expects 1 type arguments, but overloads do exist that expect either 0 or 2 type arguments." error.
I can't figure out what it's expecting as a second generic type parameter. Thanks!
const response = await supabase
.from<Task>("tasks")
.select("*");I get a "No overload expects 1 type arguments, but overloads do exist that expect either 0 or 2 type arguments." error.
I can't figure out what it's expecting as a second generic type parameter. Thanks!