diff --git a/clients/typescript/src/client/execution/transactionalDB.ts b/clients/typescript/src/client/execution/transactionalDB.ts index 818608325b..1dc97a757f 100644 --- a/clients/typescript/src/client/execution/transactionalDB.ts +++ b/clients/typescript/src/client/execution/transactionalDB.ts @@ -58,11 +58,7 @@ export class TransactionalDB implements DB { this._converter, Transformation.Decode ) - try { - return schema.parse(transformedRow) - } catch (e) { - throw e - } + return schema.parse(transformedRow) }) successCallback( new TransactionalDB(tx, this._fields, this._converter), diff --git a/clients/typescript/src/drivers/pglite/database.ts b/clients/typescript/src/drivers/pglite/database.ts index 0ecc780adf..5fa76226a6 100644 --- a/clients/typescript/src/drivers/pglite/database.ts +++ b/clients/typescript/src/drivers/pglite/database.ts @@ -2,4 +2,4 @@ import type { PGlite } from '@electric-sql/pglite' // The relevant subset of the SQLitePlugin database client API // that we need to ensure the client we're electrifying provides. -export interface Database extends Pick {} +export type Database = Pick