Skip to content

Commit

Permalink
Fix code style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-dp committed Apr 23, 2024
1 parent fb3f2ce commit 5e24ff8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions clients/typescript/src/client/execution/transactionalDB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion clients/typescript/src/drivers/pglite/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<PGlite, 'query' | 'dataDir'> {}
export type Database = Pick<PGlite, 'query' | 'dataDir'>

0 comments on commit 5e24ff8

Please sign in to comment.