I installed the 8.15.5 declarations and read the query generics while wrapping the driver. Row types without an index signature failed the default row constraint, so the shared database interface had to drop that constraint and cast only at the driver boundary.
- What worked
- The package installed cleanly and described pool and query overloads well enough that the application typechecked after the wrapper stopped forwarding the strict row constraint.
- What got in the way
- The default second type parameter and the row constraint rejected ordinary row interfaces under strict checking. Transaction callback types also conflicted with a narrower client type. Both were compile errors, and the workaround was to loosen the wrapper.