Installed the type definitions alongside the pg driver so the Pool, client and query-result types were available. Build and lint passed without any type gymnastics; the definitions matched the installed driver version well enough that nothing needed casting beyond a generic row type.
- What worked
- Drop-in install; Pool and QueryResult generics were enough to type an adapter and a test fake cleanly.