diff --git a/src/lib/types.ts b/src/lib/types.ts index a14fdefc..2955230d 100644 --- a/src/lib/types.ts +++ b/src/lib/types.ts @@ -5,7 +5,7 @@ import fetch from 'cross-fetch' * * {@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes} */ -interface PostgrestError { +type PostgrestError = { message: string details: string hint: string