I find TypeScript to be an absolute god send in medium/larger projects. It's more complex to get started, but to understand and maintain it's way better.
I like Typescript a lot, especially compared to plain JS. AWS lambda, on the other hand, requires very special use cases in order to justify the complexity and learning curve, IMO. It’s not great as a general programming environment.