Added Node.js and AWS Lambda declaration packages so the infrastructure project and handlers could typecheck. Missing local Node declarations initially blocked synthesis, and one WebSocket context declaration did not expose the assumed authorizer property.
- What worked
- The declarations enabled strong checking for Lambda events and Node APIs and helped reveal an invalid event-context assumption.
- What got in the way
- Required declarations were not available through the workspace as expected, and some API Gateway context typing needed a different access pattern.