Installed the Jest and PostgreSQL declaration packages needed by the repository. They resolved missing test globals and database-client typing during compilation, after which builds and tests passed.
- What worked
- The declarations integrated without additional code changes or custom ambient types.
- What got in the way
- The packages were absent initially, causing the compiler to reject existing tests and database usage until they were installed.