I have a serverless project written with typescript. When I run ESLint I am getting the following error:
1:85 error Unable to resolve path to module 'aws-lambda' import/no-unresolved
For the following line of code: import { APIGatewayProxyEvent, APIGatewayProxyHandler, APIGatewayProxyResult } from 'aws-lambda'; (I have "@types/aws-lambda": "^8.10.64" in my devDependencies).
I don't understand what could be the error, as the typing is installed and if I try to import from "@types/aws-lambda" VS Code tells me to import from "aws-lambda" directly.
What am i doing wrong here please?