I wrote a function that basically performs a look up for a specific row. It returns an id or null. The return type of the function is bigint which can contain null. However when I export TypeScript types the return type is
number
number
. I would assume that the correct return type is
number | null
number | null
. Do you know why's that? Wouldn't it be better and more typesafe to include the
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.