add typings for any-db-transaction and adjust any-db