TypeScript · Architecture · Mid-Level · Scenario
Dependency injection typing approaches?
Short Interview Answer
Constructor typing, tokens with interfaces, frameworks (Nest) with decorators.
Detailed Explanation
Prefer interface-based ports for testability. Avoid concrete-only graphs.