diff --git a/hasql-transaction-io.cabal b/hasql-transaction-io.cabal
--- a/hasql-transaction-io.cabal
+++ b/hasql-transaction-io.cabal
@@ -1,6 +1,6 @@
 cabal-version: 2.4
 name:          hasql-transaction-io
-version:       0.2.1.0
+version:       0.2.2.0
 license:       MIT
 license-file:  LICENSE
 copyright:     (c) 2022, 2023 Andre Marianiello
diff --git a/library/Hasql/Private/TransactionIO.hs b/library/Hasql/Private/TransactionIO.hs
--- a/library/Hasql/Private/TransactionIO.hs
+++ b/library/Hasql/Private/TransactionIO.hs
@@ -93,5 +93,5 @@
 instance Exception CondemnTransactionException
 
 -- | Throw an internal exception that causes the transaction to be rolled back. If you wish to rollback a transaction with a more useful exception use `throwIO`
-condemn :: TransactionIO ()
+condemn :: TransactionIO a
 condemn = throwIO CondemnTransactionException
