The aws-nodejs-typescript
template provided by the [Serverless Framework]
scaffolds Lambda functions in such a way that it's difficult for an IDE to
infer types correctly. For example, the following code defines a Lambda function
as a plain object literal, this is what is generated when creating a new service.
import { handlerPath } from '@libs/handler-resolver'