Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib/types/aws-lambda is not exported #18

Open
danilofuchs opened this issue Jun 2, 2020 · 4 comments
Open

lib/types/aws-lambda is not exported #18

danilofuchs opened this issue Jun 2, 2020 · 4 comments

Comments

@danilofuchs
Copy link

I keep getting this error when using the library:

node_modules/@serverless/event-mocks/dist/index.d.ts:2:48 - error TS2305: Module '"../../../@types/aws-lambda"' has no exported member 'CloudWatchEvent'.

import { AlexaSmartHomeEvent, AlexaSkillEvent, CloudWatchEvent } from "aws-lambda";

It seems like lib/types/aws-lambda/index.d.ts extends aws-lambda, but these extensions are not published as part of the package.

@barnc
Copy link

barnc commented Jun 3, 2020

I'm also getting this issue.

@NioXen
Copy link

NioXen commented Jun 17, 2020

+1

2 similar comments
@milenon
Copy link

milenon commented Jun 18, 2020

+1

@coolgsus
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants