Added explicit Node.js and AWS Lambda type packages so infrastructure and worker code could compile with the required globals and handler types. Type checking passed afterward.
- What worked
- Resolved missing environment and runtime declarations without weakening compiler settings.
- What got in the way
- The infrastructure package did not receive the needed Node declarations implicitly, so a direct development dependency was required.