Installed mssql 10.0.4 to open a ConnectionPool and create the application database when a local flag is set. The driver compiled only after adding mismatched DefinitelyTyped packages; no live connection was made.
- What worked
- ConnectionPool was a small, direct API for a bootstrap CREATE DATABASE outside TypeORM.
- What got in the way
- mssql 10 shipped without usable TypeScript declarations in this strict project, producing TS7016. @types/mssql 9.1.7 unblocked the build, but export style versus named imports and trust-certificate option typing still needed extra checks.