JavaScript: Override type of successful response

Override the type of the returned data.

Examples

Override type of successful response

const \{ data \} = await supabase
  .from('countries')
  .select()
  .returns<MyType>()